I'm working on a jquery mobile hybrid app. as I have a fixed skeleton of the app, all I do is loading the content of each page on the <div data-role="content">
of the index file preserving the header / footer / sidebar etc...
$("#pageContent").load ("pages/login-view.html", function () {
$(this).enhanceWithin();
});
Everything's working just fine.
But what's blocking me right now, is managing the back action when clicking on a left arrow in the header.
Since I'm not reloading the whole page and I'm loading only the content on pages inside my main page, I have no Idea how to create or use the Backstack of loaded pages contents.
Do you hve any idea about how to do this ?
Thank you.