I do not found better way for that. I have a lot of data.
So It works. BUT. When I load from another php. more <li> rows, and they have right classes attributes, but somehow I do not have the usual list look like in normal way wit JQM.
I can not figure out why it do not formating it.
Another stuff is, that I can not find a logic or way, how to make that if I have a data from complicated query, how to get first 10 data, after when i finished another data what is in my query after the first 10 one ....
I do not have ordering by IDs, so I can not use it like if smaller, or if bigger.
I need to make a website with jquery mobile and I will have long list. How I can make a good code to do not show all at first time? something like pagination with numbers or, when I scrolling down it starts to show and load more and more of the list.