Go Back to some step : History « Window Browser « JavaScript DHTML






Go Back to some step

<html>
<head>
<title>Go Back # Chosen</title>

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

function PreviousPage() {
  
  var quantity = document.selection.number.value

  window.history.back(quantity);

}
//-->
</script>


</head>

<body bgcolor="#ffffff" text="#000000">
<form name="selection">
<select name="number" onChange="PreviousPage()">
  <option value="1">1</option>

  <option value="2">2</option>
  <option value="3">3</option>
  <option value="4">4</option>
  <option value="5">5</option>
</select>
</form>



</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 previous Page using number
7.Methods and Properties of the History Object