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
Post a Comment