History JavaScript Tutorial

Syntax

history.go(num)
The go() method of the History object loads a URL from the history list.


    
     Using the go method of the History object
    
    
    
    Click on the button to go back 2 pages.