How do I force page reload?
How can I force a page reload (through ajax)?
I know I need to make an ajax request and update the dom, but how?
When I do this:
$.mobile.activePage.empty();
$.mobile.activePage.load('/resources div[data-role="page"]');
the DOM is updated (I see the new updated source), but nothing is shown on the browser.
Thanks