 |
History Object





The history object is actually a property of the window object and it is represented as window.history The history object allows you to deal with the history list but not with the actual data. The URL's maintained in the list cannot be modified by the script. The history object has no events but it has four properties as listed below:
| Property | Description |
| Current |
Represents the URL of the current document displayed in the window |
| Length |
Represents the length of the history list |
| next |
Represents the current URL in the history list |
| previous |
Represents the previous URL in the history list |
Domain Name Search
|