HistoryReplaceState - cWebApp

Replaces the top level item on the history stack (so no new history item is added)

Type: Procedure

Parameters: String sUrl String sTitle tWebValueTree stateData

ParameterDescription
sUrlThe new URL
sTitleThe new page title
stateDataA tWebValueTree struct to store additional data


Syntax
Procedure HistoryReplaceState String sUrl String sTitle tWebValueTree stateData

Call: Send HistoryReplaceState sUrl sTitle stateData


Description

Replaces the top level item on the history stack (so no new history item is added).

A new URL and title can be passed.

The stateData object can be used to store data used when navigating back to this history item (see OnHistoryPopState). Maps to the JavaScript browser API history.replaceState().

See Also

tWebValueTree