replacereplace*
*



Contents  *



Index  *Topic Contents
*Previous Topic: removeAttribute
*Next Topic: reset

replace

Description

Replaces the current document by loading the document at the given url. This method also removes the current document from the browser's session history.

Syntax

object.replace(url)

ParameterDescription
url String specifying the URL to insert into the session history.

Remarks

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 (Back, Forward, and so on).

Applies To

location


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.