go
Summary
Navigates to a relatively positioned history record.
Method of dom/Historydom/History
Syntax
history.go(relativePosition);
Parameters
relativePosition
- Data-type
- Number
The relative position of a URL in the history list. Out of bounds position (-1 when the current document is the first history record) does nothing.
Return Value
No return value
Notes
An error does not occur if the user tries to go beyond the beginning or end of the history. Instead, the user remains at the current page.
See also
Related pages
history
Reference
back
forward
Attributions
Microsoft Developer Network: [Windows Internet Explorer API reference Article]