I don't know why your validation doesn't work in Mozilla but does in IE, but I wanted to thank you for making my job seem better.
--- bhba <[EMAIL PROTECTED]> wrote: > function validate() { > var email = document.all.email.value; > if (!isValidEmail(email)) { > alert("Please enter a valid email address"); > return true; > document.all.email.focus(); > } > return true; > } How come validate always returns true and the focus is after the return? d. ____________________________________________________________________________________ Get the Yahoo! toolbar and be alerted to new email wherever you're surfing. http://new.toolbar.yahoo.com/toolbar/features/mail/index.php --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]