Share via


Sys.HistoryEventArgs.get_state Method

Retrieves a collection of name/value pairs that represent the state of a Web page.

For a live code example that demonstrates this method in action, and for a view of how the method is used in code, see Managing Browser History Using Client Script.

Sys.HistoryEventArgs.get_state: function()

Usage

var state = Sys.HistoryEventArgs.get_state();

Return Value

Object. A collection of name/value pairs that represent the state of a Web page.

Remarks

The state object stores the data that is required in order to restore a Web page to a specified application state.

See Also

Reference

Sys.HistoryEventArgs