How to use history back method in Javascript
Description
We can use history.back()
method to go one step back.
history.back()
mimics the browser Back button.
Example
<!DOCTYPE HTML>
<html>
<body>
<script type="text/javascript">
//go back one page
window.history.back();
</script>
</body>
</html><!--from www.ja va 2s. co m-->