jQuery Mobile is “interesting” in that you can have one or more pages on a single physical page. This has some advantages as it can make it so you don’t have to download a bunch of different files.
Additionally, this will make it so you don’t have to have the user constantly check to download the additional resources. One slightly longer initial load, for a much quicker experience on all of the other pages.
jQuery Mobile uses the data-role attribute to define the role of different elements. The page value is used to define that role in the process of a containing div.
For example:
...Content for First Page......Content for Second Page...
In such a case, the divs are navigated by using internal navigation on the nav. By default, if an internal link is not used, it will display the first “page” that is listed within the HTML.
If you want to change the title of your page, you will want to use the data-title attribute. For example:
...
Creating Virtual Pages with jQuery Mobile was originally found on Access 2 Learn