"Go Back" Button

Submitted by:Jhon Smith

Date added:12 January, 2011

Category:JavaScript

Browsers already have "back" buttons, so you'd better have a darn good reason for needing to put one on your page! This is totally obtrusive, but you could fix that by only appending this button through JavaScript.

Tags: back button , java script button , go back button

Code Snippet:

<input type="button" value="Go Back From Whence You Came!" onclick="history.back(-1)" />
 
 

Comments