Back Button

JavaScript FAQ | Navigation Enhancements  

Question: Can I make a button on my page work as the browser's Back button?

Answer: To create your own Back button, use this code

<form>
<input type=button value="Back"
onCLick="history.back()">
</form>
Try it now:

Copyright © 1996-2018, JavascriptFAQ.net.