DHTML Methods
Replaces the current document by loading the document at the given URL.
location.replace ( "sURL" )
sURL |
Required. String specifying the URL to insert into the session history. |
No return value.
Replacing a document causes it to no longer be accessible through the history object. Also, the URL is no longer accessible through the user interface navigation methods ( like the Back and Forward buttons ).
location