So i got the jquery autocomplete working on my website, but im unable to make the returned values links… they have the a tag but nothin happens when you click them… an example is here…
I think the problem is in js/autocomplete.js on lines 582-588
...
}).click(function(event) {
$(target(event)).addClass(CLASSES.ACTIVE);
select();
// TODO provide option to avoid setting focus again after selection? useful for cleanup-on-focus
input.focus();
return false;
})
...
More specifically the problem is the “return false” statement. If you remove that one it should work imho.
If an element (in this case the ul) has an onclick event that returns false the defeault behavior (in this case following the url that resides somewhere in this ul) is cancelled.