I am generating pages dynamically in a jquery mobile app. They show. The problem is that if the user hits the reload button on a dynamically generated page the will go back to the first page.
Here is the example. Save the following file as t.html
Then
Load t.html in the browser
click on 'static', the URL will now be t.html#static and you will see that page
Reload the page (click on the browser's reload page button), you will still see #static
Go back to t.html
Click on 'dynamic', the URL will now be t.html#dynamic and you will see that page
Reload the page (browser reload button), you are now back at the homepage index.html, but the URL still shows t.html#dynamic
How can I make it so that when the user reloads (step 6) the dynamic page we stay at that page?