I love this functionality for large lists http://jquerymobile.com/demos/1.2.0/docs/lists/lists-nested.html
I’m going to have a list with over 1,000 line items. I will have it categorized in to parent/child lists.
For example, the initial list that is presented is a list of states in the US. Once they click on a state, like California, they should see only the sub-list items of California.
I can’t find any code to do this outside of jquery mobile.
So you want it to replace the list with the new one, or show in nested in the old one, I’d build it different for either case.
If you want it to replace the old one I’d go with something like this (using ajax to load sub lists if it’s really large). http://jsfiddle.net/Cmzwe/
HTML
CSS
Javascript
If you want it nested then I’d do it more like this. http://jsfiddle.net/pKAQ8/
HTML
CSS
Javascript
This are both very basic examples, I can expand on either one if you’d like, just let me know how you want it to work.