Note that there are some explanatory texts on larger screens.

plurals
  1. POAutocomplete is not working with jQuery v1.8.3 (version)
    primarykey
    data
    text
    <p>My jQuery Autocomplete works fine with jQuery version 1.9 but when I'm using jQuery v1.8.3 then it shows me error:</p> <pre><code>TypeError: $(...).autocomplete is not a function </code></pre> <p>I can not change my jQuery version from v1.8.3 to 1.9 due to other functions also disturbs. How can I use the jQuery autocomplete with this jQuery v1.8.3 version? I'm talkin about this <a href="http://jqueryui.com/autocomplete/" rel="nofollow">Autocomplete</a>.</p> <p>Here is my code:</p> <pre><code>&lt;script src="&lt;?php bloginfo('template_url');?&gt;/library/js/jquery_1.9.js"&gt;&lt;/script&gt; &lt;script src="&lt;?php bloginfo('template_url');?&gt;/js/UI/ui/jquery-ui.js"&gt;&lt;/script&gt; &lt;link rel="stylesheet" href="&lt;?php bloginfo('template_url');?&gt;/js/UI/themes/base/jquery-ui.css"&gt; function autoComplete(obj) { var term_val = obj.value var findin = ""; if(term_val == "") { console.log(term_val); $("#"+obj.id).val(""); $("#ui-id-1").remove(); } else { $.ajax({ type:"POST", url:"&lt;?php echo bloginfo('template_url')?&gt;/ajax.php", data:"&amp;term_val=" + term_val, dataType:"json", success:function (data) { var availableTags = data; $( "#"+obj.id ).autocomplete({ minLength: 0, source: availableTags }); } }); } } &lt;input type="text" name = "quick_search_new" id="quick_search_new" onkeyup="autoComplete(this)" autocomplete="off"/&gt; </code></pre> <p>when I use the above jQuery file with the 1.8 version its not working showing me error: </p> <pre><code>&lt;script src="&lt;?php bloginfo('template_url');?&gt;/library/js/jquery_1.8.js"&gt;&lt;/script&gt; &lt;script src="&lt;?php bloginfo('template_url');?&gt;/js/UI/ui/jquery-ui.js"&gt;&lt;/script&gt; &lt;link rel="stylesheet" href="&lt;?php bloginfo('template_url');?&gt;/js/UI/themes/base/jquery-ui.css"&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload