[thelist] redirect email validate

Dan McCullough dmccullough at garnethill.com
Mon Jul 26 13:03:45 CDT 2004

Okay so some of you remember my iframes email, well I have been boncing
a few other ideas around.

One of them is using my currect JavaScript email validation script to
push the URL and redirect back to the correct page.

<script type="text/javascript">
function checkErrors(theForm){
   for(i=0; i < theForm.length; i++){
      if(theForm.elements[i].name == "email_address"){
          var x = theForm.elements[i].value;
          var filter  =
          if (!filter.test(x)){
     		alert('Please enter a valid email address')
      		return false
  return true

so in here I need to send a the email address in a URL string

meanwhile I need that to go quietly and need the page to refresh.

Any thoughts? 

More information about the thelist mailing list