Mega Code Archive

 
Categories / JavaScript Reference / Javascript Objects
 

History Example

<html> <head> <script language="JavaScript"> function function1(){     history.back(1); } </script></head> <body> <input id="myButton"         type="button"         onclick="function1();"         value="Go back 1 step in the history list"> </body> </html>