August 1999
Intermediate to advanced
1488 pages
72h 53m
English
history.forward()
The forward() method of the History object is used to load the URL for the next Web site in the history list.
Listing 7.296 shows an example of how the forward() method is used to simulate the forward functionality of the browser.
<html> <head> <title> Using the forward method of the History object</title> </head> <body> <form name=form1> Click on the button to go to the forward browser page. <input type="button" value="Go Forward" onClick='window.history.forward()'> </form> </body> </html> |
Read now
Unlock full access