replace()

This method is used to load, or replace, a new document into the window specified. The brwoser's history listings are updated as this happens.

syntax:

replace(URL)

This method is used with the following:

location