History.go() (Method)

Return to a URL from the history array.


JavaScript - 1.0
JScript - 1.0
Internet Explorer - 3.02
Netscape - 2.0
Opera browser - 3.0
JavaScript syntax:-myHistory.go(anIndex)
Argument list:anIndexDenotes which history item to go to
aURLA URL value to go to
aDocTitleThe name of a document (in Netscape)

You can perform a soft reload of a page, retaining its current settings by means of the History.go(0) method call.

The following values are meaningful as an argument:


Example code:

   // Recall a page from the history keeping form settings intact

See also:Location.reload()