EN
Ce contenu n’est pas disponible dans votre langue. Voici la version anglaise.

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

 

 

Afficher:
© 2014 Microsoft