|
Wondering how to make a simple javascript navigation back link to place on your website? This code will take the user -1 in the browser history. You can change the value to whatever you would like.
Use it as a link:
<a href=”#” onClick=”history.go(-1)”>Back</a>
Use it as a button:
<input type=button value=”Back” onClick=”history.go(-1)”>
|



Leave a Reply