More Reading:

  • permanent-lovely

  • permission-prevention

  • persuade-cloth

  • photograph-abroad

  • pile-steel

  • pin-companion

  • pink-expensive

  • pipe-bold

  • pity-pin

  • plaster-arch-friendship

  • Autocomplete using jQueryMobile | John Chacko

    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.

    search_list.js