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






Go Back to previous Page using number



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

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

function PreviousPage() {

  history.back(1);

}
//-->
</script>


</head>

<body bgcolor="#ffffff" text="#000000">

<a href="javascript:PreviousPage()">Back</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 previous Page
6.Go Back to some step
7.Methods and Properties of the History Object