Go Back to previous Page : History « Window Browser « JavaScript DHTML






Go Back to previous Page


<html>
<head>
<title>Go Back to previous Page</title>

<script language="javascript">
<!--

function NextPage() {

  history.forward(1);

}
//-->
</script>


</head>

<body>

<a href="javascript:NextPage()">Forward</a><br>

</body>

</html>




           
       








Related examples in the same category

1.History 'back()' Example
2.History 'forward()' Example
3.A Browser History Count
4.Use history back button
5.Go Back to some step
6.Go Back to previous Page using number
7.Methods and Properties of the History Object