TechieDrill Your World Of Technical Tutorials

JS Back Button

12.04.2009 · Posted in JavaScript

This tiny piece of JScript code enables the user to visit the previous page in his browsing session.

Usage

This particular JScript code can be used while running online slide shows or step by step instructions.

Script

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

Leave a Reply

You must be logged in to post a comment.