Home   Free Applications   Code Snippets   Fun Stuff 
 
 You are here: Home > Code Snippets > JavaScript
Register   Login  

 
Site Navigation


Print Print this page
Email E-mail this page
Bookmark Add to Favorites

 
Forward and Back Buttons

Posted by on Friday, October 17, 2003 (EST)

How to use the forward and back buttons with JavaScript

Using a Form:

<FORM NAME="buttombar">
     <INPUT TYPE="button" VALUE="Back" onClick="history.back()">
     <INPUT TYPE="button" VALUE="Forward" onClick="history.forward()">
</FORM>


Using Images or Text:

<a href="javascript:history.back()">Back</a>
<a href="javascript:history.forward()">Forward</a>

Comments:

zhybylutefacimuzha
By ? on Saturday, January 14, 2006 (EST)
nice! this site is very good!

Reply to this Comment

nibodiwyfytu
By ? on Sunday, January 15, 2006 (EST)
test from igorbasic

Reply to this Comment

spam this
By ? on Sunday, January 22, 2006 (EST)
my test message

Reply to this Comment

Answer about remove virus trojanToke
By spywareremoverratingsToke on Saturday, August 02, 2008 (EST)
Your site www.loresoft.com is amazing resource. Good job, owner.

Reply to this Comment

Add Your Comment



Top