I have a base page that then loads content via .load() into a container div and I would like to enable the back button to traverse those load actions rather than go back to the last static page
Also when the page is reloaded it goes back to the first loaded content rather than the content the user was on.
is there a way to correct this using cookies or some other method?
Set the
.hashproperty ofwindow.locationas something representing the current content.You can then catch changes to that property (triggered by user navigation) to put the appropriate content back into the page.
There are jQuery plugins available (
jQuery.history?) to simplify this for you.