All Tech Tips

history Object

Contains information about the URLs visited by the client.

Members Table

PropertyDescription
length Retrieves the number of elements in the History list.
MethodDescription
back Loads a previous URL from the History list.
forward Loads the next URL from the History list.
go Loads a URL from the History list.

Remarks

For security reasons, the history object does not expose the actual URLs in the browser history. It does allow navigation through the browser history by exposing the back, forward, and go methods. A particular document in the browser history can be identified as an index relative to the current page. For example, specifying -1 as a parameter for the go method is the equivalent of clicking the Back button.

This object is available in script as of Microsoft Internet Explorer 3.0.

Standards Information

There is no public standard that applies to this object.

Applies To

window


Copyright © 2006 alltechtips.com. All rights reserved.

This website and the materials and information you find on this website are provided "as is", without warranty of any kind, either express or implied, including without limitation any warranty for information, services, or products provided through or in connection with the service and any implied warranties of merchantability, fitness for a particular purpose, expectation of privacy or non-infringement.
Advertising
health | home | ip address | golf courses | recipes | flooring | rubber flooring | cd duplication | schools