I have a SELECT element on one of my jQuery Mobile pages that has a lot of possible values. Obviously loading all of the options on page load raises performance issues on mobile handsets. What is a good way to load items "on demand"?
An example of what I need is how the Android market loads app lists: x number of items load initially, then x more items load once you've scrolled to the bottom of the options, then x more...and so on).
I'm using C#/ASP.NET (Razor syntax) to implement jQuery Mobile.
Here's my solution. The idea is to implement a kind of Twitter-like pagination and that you should render some choices from the beginning.
Then hook some handlers to the More option
Test.js contains this: