Ajax Select Autocomplete
Posted on 2009-07-02
I need an autocomplete component that will search the entire string not just the start!!
I have an array of places (Hammersmith and Fulham, City of London, Kensington and Chelsea, Kingston upon Thames).
If I was to search for them in all the autocomplete select boxes most would not work. If I was looking for "London", it wouldn't work because the string doesn't start with "London", it's starts with "City", similarly I'd struggle looking for "Chelsea".
Can anyone suggest a component that would work. Otherwise I'll have to make one.
The array is local in JS. I do not want to have to make dozens of AJAX database calls.