Compare Revisions

Window.onpopstate

Revision 34964:

Revision 34964 by feross on

Revision 34965:

Revision 34965 by Husky on

Title:
window.onpopstate
window.onpopstate
Slug:
DOM/window.onpopstate
DOM/window.onpopstate
Tags:
DOM, events, HTML5
DOM, events, HTML5
Content:

Revision 34964
Revision 34965
nn21    </p>
22    <p>
23      Note that just calling <code>history.pushState()</code> or 
 ><code>history.replaceState()</code> won't trigger a popstate even
 >t. The <code>popstate</code> event is only triggered by doing a b
 >rowser action such as a click on the back button (or calling <cod
 >e>history.back()</code> in Javascript).
t58        <a class=" external" href="http://www.whatwg.org/specs/wet61        <a class="external" href="http://www.whatwg.org/specs/web
>b-apps/current-work/#handler-window-onpopstate" title="http://www>-apps/current-work/#handler-window-onpopstate" title="http://www.
>.whatwg.org/specs/web-apps/current-work/#handler-window-onpopstat>whatwg.org/specs/web-apps/current-work/#handler-window-onpopstate
>e">HTML5 popstate event</a>>">HTML5 popstate event</a>

Back to History