{"id":276,"date":"2022-08-30T14:58:39","date_gmt":"2022-08-30T14:58:39","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2013\/09\/02\/problem-about-inarray-record-and-share-programming-errors\/"},"modified":"2022-08-30T14:58:39","modified_gmt":"2022-08-30T14:58:39","slug":"problem-about-inarray-record-and-share-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/problem-about-inarray-record-and-share-programming-errors\/","title":{"rendered":"problem about inarray-Record and share programming errors"},"content":{"rendered":"<ul>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/3d122491092dcd1585e1cab5fa07ca86?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\ntreeface<br \/>\njquery inarray<br \/>\nIt&#8217;s possible that I&#8217;m not properly using jQuery&#8217;s inArray() function, but I have to construct an object that only has the indexes of two other JavaS<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/e8f2decec039c9aa456e370c85f66408?s=128&amp;d=identicon&amp;r=PG\" \/><br \/>\ngdoron<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/282eed17fcb9682bb2816697482b64ec?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nscunliffe<br \/>\njquery function inarray<br \/>\nI have used the jQuery inArray function, but Eclipse tells me that this function is undefined. I don&#8217;t understand how this can be s<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/56b0f8c841fe19ec2469d0302edf1e7b?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nDennis Martinez<br \/>\njquery indexof inarray<br \/>\nI have a value, and an array. I&#8217;m trying to see if the value is contained within the array. I&#8217;m using jQuery&#8217;s &#8216;inArray&#8217; method but the results keep telling me that it is not found. What am I doing wrong?here is the fiddle. http:\/\/jsfiddle.net\/p9xcb\/var array = [&#8220;79C8A605-1384-4A51-8AC9-C53C1AE075D2&#8221;, &#8220;E367CEEE-A344-4C63-B4B3-A1CC20D3DAF2&#8221;, &#8220;1E3ED40E-935A-4895-960E-89FFD8CD81B9&#8221;, &#8220;2E67F9E8-4770-497E-A938-0A145DA033AF&#8221;, &#8220;35B33B09-6BD3-495E-9A3E-4B5D6DF8655E&#8221;, &#8220;F419FB1F-4922-46B9-B651-8BB0D42510DD&#8221;, &#8220;61FD263B-175E-4434-8A88-8E00418E2E14&#8221;, null, &#8220;FF98229A-998C-49AD-9392-E4CE98115C0A&#8221;, &#8220;C88B9D52-FE70-430C-B43D-D52F9B22E997&#8221;, &#8220;1DDF2413-B453-42BB-8D78-7A7AAA94C353&#8221;, &#8220;55D922B1-EBCD-4EC3-87A5-FA6AA38C9975&#8221;, &#8220;0FA8079A-F76F-4CA5-B370-7B8B9AF2720A&#8221;, &#8220;CF1971EF-E0C2-4C54-8131-A19FB14F2515&#8221;, &#8220;A736854B-73A2-4282-85E0-6298D8AB815A&#8221;, &#8220;DA280665-DC5E-4DF2-9FB1-924E1C8E4713&#8221;, &#8220;9C73A934-9DDF-415C-A409-F2AC79493539&#8221;, &#8220;F<\/li>\n<\/ul>\n<p id=\"rop\"><small>Originally posted 2013-09-02 03:12:10. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>treeface jquery inarray It&#8217;s possible that I&#8217;m not properly using jQuery&#8217;s inArray() function, but I have to construct an object that only has the indexes of two other JavaS gdoron scunliffe jquery function inarray I have used the jQuery inArray function, but Eclipse tells me that this function is undefined. I don&#8217;t understand how this [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-276","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/276","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=276"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/276\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=276"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=276"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=276"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}