Let's say we have a main jqm index page with 4 links to 4 new pages... all with a different class names so we can make some unique trigger calls. (lets avoid id's)
So every new page will have a unique ajax call loading some external data and add that to the markup, either listview or whatever.
How is this done right?
Show the loader spinner while data is being fetched.
Waiting for the ajax to complete/be 'done' and spinner hides
Preserve navigation and transitions effects.
Preserve back navigation
Prevent multible bubbeling in the DOM
I think I tried it all, really would like a jqm expert to show a fiddle :)
watusiware - he raised the question about the multipage layout, and why so many jump into that, well my reason for taking that direction is the nightmare of parsing specific data from a page to a external page, where in a multipage you can dump values anywhere and fetch them as you please.
jqm rules, but I do find that normal simple tasks has been made stupidly hard to archive, and I have been under the presumption that the loader and ajax calls was handled automatic?