AJAX loadPage() currently only processes the first page and ignores the rest of the page stack ( multiple divs with data-role='page' ). I needed to have a way to add subpages for certain views generated by the server, so I came up with a simple subpage widget. Here is the link to the github repository if anyone is interested (until loadPage adds this functionality post 1.0 ):
I've read your documentation on github and I'm still having trouble getting this set up. So from my understanding you include the .js file from github in your head along with jquery and jquerymobile then the document should look like this.
<--doc 1--> <div data-role="page">
<--doc 2--> <div data-role="page">
Is that correct?
Leave a comment on mhartington's reply
Change topic type
Link this topic
Provide the permalink of a topic that is related to this topic