Hi,
I want to share with you a demo/code I made to perform location search with a listview.
If you need something similar then take a look to the code out there:
The only problem is that I had to modify a bit the jquery mobile listview component to add a callback on key up event (3 code lines added).
Maybe someday this change won't be necessary. ;)
Case study:
I have a search form where a user can search ads by filtering with criterias.
One of those criterias is a location.
I want the user to type a location (zip code / postal code / city name, ...)
but the location will be validated by selecting from a list.
Because the list of locations is too big (more than 36000) I won't fill a list with all of them.
So I want to the list to be built and displayed dynamicaly.
I want to be able to limit the number of displayed list items.
I want to have my own text filter and comparaison function.