I am designing a JQuery Mobile application and facing one problem there,
I have two pages, page1.aspx
and page2.aspx
, I have to redirect from
The events are not the same with changePage, because that method makes an Ajax call to the new url, that's different from the direct call in window.location.href
Did you tried with this method:
$('div').live("pageshow", function()
{
//your code
});
EDIT: Looking at the JQuery Mobile page, I saw that there's and event triggered after the page change.
http://jquerymobile.com/test/docs/api/events.html