How to make an autocomplete or search using jQueryMobile & listView?
Here is a demo.
Demo allows to search from a list of contacts. Generates a listview.
Clicking on an item(contact) will navigate to the page with details of the contact.
Remember the search results and details page is created dynamically during runtime.
I prefer to listen to jQM’s ‘pagebeforechange’ event for dynamic applications where pages are generated runtime.
Below is the code.