History length : history « Javascript Objects « JavaScript DHTML






History length

  
    
<html>
<body>
<button onclick="alert(window.history.length);">History Length</button>
</body>
</html>

    
      
        
    
  








Related examples in the same category

1.history back
2.History.go(-2)
3.Hsitory.forward()
4.A Browser History Count
5.Navigating to an Item in History