HTML5 does not refresh the current url code. html5 current url code
Window. history. back (); // backward
Window. history. forward (); // forward
Window. history. go (-1); // move to the specified record point. Currently, 1 is regressed, which is equivalent to window. history. forward ()
Window. history. length // you can know the number of record points in history.
The above is included in the query.
Next
History. pushState and history. replaceState
History. pushState adds a history record,
History. replaceState will replace but will not increase, so it will be more comfortable.
The above is a small Editor to introduce you to HTML5 without refreshing the code of the current url, I hope to help you, if you have any questions, please leave a message, the small editor will reply to you in a timely manner. Thank you very much for your support for the help House website!