Javascript "Back" Link
- Home
- Javascript
- Javascript "Back" Link
Create a link that mimics the action of the browser's BACK button.
Create your own "back" button. Why? Can't users just use their own back button on their browser? Yes they can, but this just seems cool to some people. Insert the code below on your page. It will return the user to whatever page they came from.
<a href="javascript:history.back()">Back</a>
The Result
Back
back button Javascript