I'm not even sure how to search for this one or if this is the right place to ask so I'm sorry if not.
I have inherited a HUGE jQuery driven ASP.NET site. Everything is loaded via jQuery and it's all loaded into the same page.
There are currently no back buttons and justifiably the client has now asked for a "back button" on each "page" so they can skip back to the previous "pages".
Problem is, there aren't actual pages, it's different scripts that have been run to populate different information on the same page.
What is the easiest way of handling this? So far I am assigning the previous query to the back button every time a "page" loads so they can go back once, but how can I allow them to click back twice or more? (as if using the browser back button?)