Javascript Essentials Part 1
by Hiroshi on November 1st, 2008
Back Button (history.back) Script
Text Link
<a href="javascript:history.back(1)" target="_parent">Go back</a>
Image Link
<a href="javascript:history.back(1)" target="_parent"> <img src="images/this.jpg" width="100" height="20" border="0"> </a>
OR
History Back and Forward Buttons
<form> <input type="button" value=" back " onClick="history.go(-1)"> <input type="button" value="forward" onCLick="history.go(1)"> </form>
Related Posts
advertisements
