Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
go
Expand Minimize

pushState method

Pushes the given data with the given title, and the given URL, if provided, onto the session history .

Internet Explorer 10

 

Syntax

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

Parameters

statedata [in]

Type: any

The data to push onto the session history.

title [in]

Type: DOMString

The desired title for the data.

url [in, optional]

Type: DOMString

An optional URL to associate with the data.

Return value

Type: HRESULT

This method can return one of these values.

S_OK

See also

history

 

 

Show:
© 2015 Microsoft