backbone-jquerymobile
backbone-jquerymobile copied to clipboard
jquery-mobile 1.4 pagehide event Deprecated
$('div[data-role="page"]').live('pagehide', function (event, ui) { $(event.currentTarget).remove(); });
the triggering of this event is deprecated as of jQuery Mobile 1.4.0. It will no longer be triggered in 1.6.0. The replacement for pagehide is the pagecontainer widget's pagecontainerhide event. In jQuery Mobile 1.4.0, the two events are identical except for their name and the fact that pagecontainerhide is triggered on the pagecontainer, whereas pagehide is triggered on the page.