History problem
Date: 11/12/05
(Javascript Community) Keywords: html, java
I have a big problem.
I want to load a new page in Javascript, but I do not want to replace the current history entry. I want to add a new URL to the history at the same time. Do you know how to do that? Is it possible?
This is the problem:
location.href = "file:///C:/test.html?page=5";
This command replaces the page but does not add a new entry to history. It overwrites the current history. How do load a page and add a new history entry at the same time?
Source: http://www.livejournal.com/community/javascript/83181.html