Script Categories

Menus and Navigation >>> Back Button.

Still wondering how to create a back button from a link or button? It's easy to do and doesn't even take a whole line!


Add the below code to the <body> section of your page:

<!--  Visit for full source code
and get more free JavaScript, CSS and DHTML scripts! -->
<a href="#" onClick="history.go(-1)">Back</a>
<input type=button value="Back" onClick="history.go(-1)">
<!-- Change the value of -1 to any number of pages you would like to send your visitors back -->

JavaScript Editor Get Advanced
JavaScript and Ajax Editor,
Validator and Debugger!

1st JavaScript Editor.

Code was highlighted by 1st JavaScript Editor (The Best JavaScript Editor!).