go
Expand Minimize

replaceState method

Updates the current entry in the session history to have the given data, title, and, if provided, URL.

Internet Explorer 10

Syntax

var retval = history.replaceState(statedata, title, url);

Parameters

statedata [in]

Type: any

The data to update.

title [in]

Type: DOMString

The data title to update.

url [in, optional]

Type: DOMString

The optional data URL to update.

Return value

Type: HRESULT

This method can return one of these values.

S_OK

See also

history

 

 

Show:
© 2014 Microsoft