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

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

mediawiki - How do I insert tables inside infoboxes on Wikia pages? -

Local Service User Logged into Windows -