You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pagebeforechange is normally fired twice - once with the URL to which we will browse, and the second time with the jQuery object containing the page representing the destination URL.
However, when pagebeforechange is triggered in response to a programmatic call to pagecontainer change(), where the URL was given as a jQuery object, then both pagebeforechange events contain a jQuery object.
Additionally we should refine the statement whereby
During the handling of this event the browser's history has not yet changed.
because pagebeforechange also fires in response to the Back button being clicked, in which case the history will have changed before the page change cycle even commences.