View Full Version : Back button redirect
rich999
09-05-2002, 02:16 PM
Simple question: I have a form that, when an invalid email is entered, displays a "Try again" link which directs them back to an EMPTY form. I'd like to have the link simply act as a BACK button so their form is still filled in and they just have to change the email address. What's the code for this? Thanks!
MCookie
09-05-2002, 08:33 PM
Hi, I always use this:
<a href="javascript:history.go(-1);">Back</a> (without the space between java and script)
and it works for me. But if you want to confuse yourself, go here:
http://www.codingforums.com/showthread.php?threadid=5371
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.