tytyguy — 2010-03-01T23:44:48-05:00 — #1
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...
just enter a zip code at the top right search
scallioxtx — 2010-03-02T02:34:01-05:00 — #2
I think the problem is in js/autocomplete.js on lines 582-588
// TODO provide option to avoid setting focus again after selection? useful for cleanup-on-focus
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.
tytyguy — 2010-03-02T10:22:07-05:00 — #3
that worked. thank you so much!