August 1999
Intermediate to advanced
1488 pages
72h 53m
English
history.go(num)
The go() method of the History object loads a URL from the history list.
Listing 7.297 shows how the go() method can be used to navigate to another Web site in the history list.
<html> <head> <title> Using the go method of the History object</title> </head> <body> <form name=form1> Click on the button to go back 2 pages. <input type="button" value="Go" onClick='window.history.go(-2)'> </form> </body> </html> |
Read now
Unlock full access