Back Command

liunx

Guest
hi,<br />
<br />
can someone please help me... <br />
<br />
i need to a html command that works like a back button on the internet browser..<br />
<br />
can anyone help or point me in the right direction.<br />
<br />
thanks <br />
<br />
rossi<!--content-->You will have to use JavaScript like this:<br />
<a href=http://www.webdeveloper.com/forum/archive/index.php/"javascript:history.go(-1)">Go Back</a><br />
<br />
Or on a form button:<br />
<input type="button" value="Go Back" onClick="history.go(-1)"><!--content-->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 ?<!--content-->
 
Back
Top