pushState
go
TOC
Collapse the table of content
Expand the table of content

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:
© 2016 Microsoft