Mega Code Archive

 
Categories / JavaScript Tutorial / History
 

History next

The next property is used to get the URL for the next entry in the history list. <html>     <head>     <title> Using the next property of the History object</title>     </head>     <body>     <script language="JavaScript">     <!--     netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserRead");     var nextURL = window.history.next;     document.write("The next URL in the history list is: " + nextURL);     -->     </script>     </body>     </html>