JQuery Autocomplete only suggesting first row
Posted
by Chris McCall
on Stack Overflow
See other posts from Stack Overflow
or by Chris McCall
Published on 2010-03-11T21:31:44Z
Indexed on
2010/03/11
21:34 UTC
Read the original article
Hit count: 365
jQuery
|autocomplete
I'm doing research using JQuery's Autocomplete plugin and Google Maps' API. What I have so far is located here. I'm using Asp.net MVC to generate the list of potential address matches (limited to US addresses only) and presenting them as a pipe-delimeted list to Autocomplete, which is supposed to be .split
ing them up and suggesting them to the user.
The problem I'm having (besides a stubborn IE-only javascript error, which I'll break into another question), is that only the first result is suggested.
This page clearly shows two results, yet typing "3118" into the textbox produces only the Galax Dr
result. How can I get Automplete to produce both results?
© Stack Overflow or respective owner