Name

history — NN 2 IE 3 DOM n/a

Synopsis

Read-only

Contains the history object for the current window or frame. For details, see the discussion of the history object.

Example

if (self.history.length > 4) {
    ...
}

Value

history object reference.

Default

Current history object.

Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.