Click to See Complete Forum and Search --> : Back Command


rossi
10-23-2003, 10:32 AM
hi,

can someone please help me...

i need to a html command that works like a back button on the internet browser..

can anyone help or point me in the right direction.

thanks

rossi

requestcode
10-23-2003, 10:48 AM
You will have to use JavaScript like this:
<a href="javascript:history.go(-1)">Go Back</a>

Or on a form button:
<input type="button" value="Go Back" onClick="history.go(-1)">

gizmo
12-11-2003, 11:18 AM
I use the 'form' version of this quite a lot on my site and although it works fine, it doesn't validate. It says the FORM requires an ACTION. ok, but what action does it require to validate correctly ?