Mega Code Archive

 
Categories / JavaScript Tutorial / History
 

History forward()

The forward() method is used to load the URL for the next Web site in the history list. <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>