Javascript Back Button
- Home
- Javacript
- Javascript 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.
<FORM>
<INPUT TYPE="button" VALUE="Get Back, Jack!" onClick="history.go(-1)">
</FORM>
Example
back button Javascript