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