Home / code / javascript / scripts

Back button

Writer: Christophe Wolfs
Published: 27 March 2008

You can make a back button with the following code,
Or if you want a button the second example.

<a href="javascript:history.go(-1)">BACK LINK</a>

<form> <input type=button value="Back" onClick="history.go(-1)"> </form>

 

TOP