pushState method
Pushes the given data with the given title, and the given URL, if provided, onto the session history .
![]() |
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
Show:
