I need to get data from the backend between page transitions (like you might do on a page load) and I can't seem to figure out a good way to do this.
I've tried to bind to the beforepage and showpage events, those ways work.
I see an issue when a user navigates away from the page and then uses the back button to come back. The process of getting the data from the server happens again and I don't want/think that it should.
I was wondering if someone or someones might have some insight into this issue. It seems weird to have to clear the DOM that is dynamically created each time a "pagehide" and re-render it from an Ajax call when the user hits the back button.