HBCMS更多的中文手册参考:

replace Method

DHTML文档教程

Replaces the current document by loading another document at the specified URL.

dhtml语法

location.replace(sURL)

Parameters

sURL Required. Stringthat specifies the URL to insert into the session history.

Return Value

No return value.

Remarks

When a document is replaced, it is also removed from the history object. moreover, the user interface navigation methods, such as the back and forward buttons, will no longer access the url.

是否符合公共标准

There is no public standard that applies to this method.

Applies To

location