jQuery Autoselect not working -



jQuery Autoselect not working -

i've been trying fire event of autoselect using jquery.. works in way shouldn't work. don't understand what's going on. supposed work per documentation.

code works

$('.carcomplete').autocomplete( "/autocomplete.html?ajax=true&type=car" );

code doesn't work

$('.carcomplete').autocomplete({ source:"/autocomplete.html?ajax=true&type=car" });

is there wrong in code?

your url must point json or jsonp, not html.

jquery jquery-autocomplete

Comments

Popular posts from this blog

php - How to pass multiple values from url -

database - php search bar when I press submit with nothing in the search bar it shows all the data -

ios - How to load .png images from Documents folder of an app -