var stateObj = { foo: "bar" }; history.pushState(stateObj, "page 2", "bar.html");
<pre>var stateObj = { foo: "bar" }; history.pushState(stateObj, "page 2", "bar.html");
Quote:How to manipulating browser histori using pushstate HTML5
Quote:The new URL must be of the same origin as the current URL
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)