This property yields a reference to a history object for the session in this window. The history object is somewhat like an array of history items. Netscape Navigator supports a slightly more sophisticated history object than MSIE.
On MSIE, you can access methods belonging to the history object with a construct like this:
window.history.go(0);
Nevertheless, you cannot access member properties of the history object to examine URL values as this contradicts the security requirements.
See also: | Frame object, History object, Window object |
Prev | Home | Next |
Window.handleEvent() | Up | Window.home() |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |