{"id":6509,"date":"2014-04-19T04:42:16","date_gmt":"2014-04-19T04:42:16","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/04\/19\/jquery-autocomplete-on-large-array-collection-of-common-programming-errors\/"},"modified":"2014-04-19T04:42:16","modified_gmt":"2014-04-19T04:42:16","slug":"jquery-autocomplete-on-large-array-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/04\/19\/jquery-autocomplete-on-large-array-collection-of-common-programming-errors\/","title":{"rendered":"Jquery autocomplete on large array-Collection of common programming errors"},"content":{"rendered":"<p>Are you using the standard jQuery autocomplete plugin? If so, I&#8217;m unfamiliar with the option parameter &#8220;source&#8221; that you used.<\/p>\n<p>The proper syntax for that plugin is: <code>autocomplete( url or data, [options] )<\/code>. It sounds like your version works with the &#8216;source&#8217; option parameter,(although while crashing the browser) so I&#8217;m confused. If the browser is crashing, I&#8217;d expect the problem to be related to the javascript.<\/p>\n<p>I recommend trying:<\/p>\n<pre><code>$('whatever').autocomplete(array1,{\n    matchContains: true, \n    minLength: 3, \n    delay: 700,  \n    max: 10, \n    highlight: true \n});\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Are you using the standard jQuery autocomplete plugin? If so, I&#8217;m unfamiliar with the option parameter &#8220;source&#8221; that you used. The proper syntax for that plugin is: autocomplete( url or data, [options] ). It sounds like your version works with the &#8216;source&#8217; option parameter,(although while crashing the browser) so I&#8217;m confused. If the browser is [&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-6509","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/6509","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=6509"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/6509\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=6509"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=6509"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=6509"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}