History.back() : History : History JAVASCRIPT TUTORIALS


JAVASCRIPT TUTORIALS » History » History »

 

History.back()







The back() method is used to load the URL for the previously visited Web site.












<html>
    <head>
    <title> Using the back method of the History object</title>
    </head>
    <body>
    <form name=form1>
    Click on the button to go back to the previous page.
    <input type="button" value="Go Back" onClick='window.history.back()'>
    </form>
    </body>
    </html>







HTML code for linking to this page:

Follow Navioo On Twitter

JAVASCRIPT TUTORIALS

 Navioo History
» History