Log in

View Full Version : How to Make a Back Button/Link



Sketti
24-03-2005, 07:54 AM
Right. This will hopefully teach you how to make a back button or link.

For the link you might as well just copy this code:

<a href="javascript history(-1)">Back</a>

For the button you might as well just copy this code as well:

<input type="button" value="Go Back" onclick="history.back(-1)">


I Hope this is of some use to you - even if it is a short tutorial.

Want to hide these adverts? Register an account for free!