go method (history)
Loads a page from the history list into the current window.
You can find the related objects in the Supported by objects section below.
|Required. Integer that specifies the relative position of a URL in the history list. For example go(-1) is equivalent to the back method, go(1) is equivalent to the forward method. This parameter can also be a string in Internet Explorer. In that case it specifies the exact URL of a document in the history list.|
This method has no return value.
Example HTML code 1:
This example illustrates the use of the go method.
Did you find this example helpful?
User Contributed Comments