Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

jQuery Mobile: Listview Filter Search Callback Function

Hey so I want to have a filter search such that you enter two letters of a search and the corresponding results appear in a list view. I can't load the entire list as is typical with the jqm listview because its way too big. Can someone please show me how to do this...its a bit beyond my scope of understanding the API.

I know how to use the autocomplete widget for jquery, but I want the results formatted as a listview. So a textbox, and then under it the listview formatted results, but only after two letters have been entered would I like it to display results, that way it doesn't show a giant list which would take too long to load.

like image 693
JoshDG Avatar asked Nov 14 '22 08:11

JoshDG


1 Answers

Check out this here: https://github.com/commadelimited/autoComplete.js
Seems like what you are looking for.
Alex

like image 53
Alex Avatar answered Nov 16 '22 23:11

Alex