I have a line of code that causes a conflict between an image slider and a search bar that autocompletes :
$J = jQuery.noConflict();
I have two scripts before this line : jquery_1-6-4.js and jquery.autocomplete.js which are used to make the search bar autocomplete.
With the jQuery.noConflict line, the image slider works, but the search bar doesn’t suggest words. Without it, the search bar works, but the slider doesn’t (it disappears)
Once you put jQuery in no-conflict mode, it releases
$, which your autocomplete code is attempting to use. If you set$J = jQuery.noConflict();, you’ve aliased jQuery to$J; it takes the place of$. You’ll need to use$Jthroughout.