Where URL is the location which is to be replaced by current browser's history entry.
Description of code :
To illustrate the use of location.replace() method here we have created a simple HTML page into which we have created a button which calls the function replaceLocation(). Functionality of this function is to call method location.replace().
We have 1000s of tutorials on our website. Search Tutorials tutorials on our website.
Posted on: February 7, 2009 If you enjoyed this post then why not add us on Google+? Add us to your Circles