go
Expand Minimize
0 out of 2 rated this helpful - Rate this topic

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

 

 

Send comments about this topic to Microsoft

Build date: 11/27/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.