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

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

 

 

Afficher:
© 2014 Microsoft