History.forward() : History : History JAVASCRIPT TUTORIALS


JAVASCRIPT TUTORIALS » History » 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>







HTML code for linking to this page:

Follow Navioo On Twitter

JAVASCRIPT TUTORIALS

 Navioo History
» History