1. Location. Replace means replacement.
The principle of this method is to replace the current historical record with the URL of the new page, so that there is only one page in the browsing history record.
The return button will never become available
Onclick = "javascript: location. Replace (this. href );
<A href = "javascript: location. Replace ('HTTP: // www.baidu.com ')"> click this link to go to the new page and check whether the page can be returned. </a>
2. Location. href
This page jumps
Is the normal page adjustment A to B
3 location. ReloadMethod to force the browser to refresh the current page.
Method: location. Reload ([Bforceget]) Parameters:BforcegetOptional parameter. The default value is false. The current page is retrieved from the client cache. True, get the latest page from the Service side in the get format, which is equivalent to clicking F5 ("refresh") on the client ")