
JavaScript Back Button
This is a simple script which demon straights how to create a back button/text link using JavaScript.
Example
Text version
Button version
Script Source
<The Button Link >
<input type=button value="Back" onClick="history.go(-1)">
<The Text Link >
<a href="#" onClick="history.go(-1)">Back</a>
Please let me know if this script was helpful to you.
Be Prepared
When you build a whole website based on the complicated java script, it’s a real loss if your hosting crashes, so it’s good to have a backup of your website on your pc. Installing data recovery software recovers most mistakenly deleted files. Always attach a data recovery hardware device with your pc that is the best practical computer backup solution. Having an online back up enables you to have an online file sharing.