Webmonkey
Powered by Atomz.com



Quick Reference:

• Javascript Code Library
HTML Cheatsheet
Special Characters
Color Codes
Browser Chart
Stylesheet Guide
Unix Guide
Glossary
Domain Registries

Reference   JavaScript Code Library

The IsEmailValid() routine tests whether the specified field of the given form contains an email address of valid syntax. As the actual email address cannot be truly verified without some special magic, this routine shall at least attempt to verify the syntax of the address.

If the given email address is not valid, an error is displayed, the focus is set back to the specified form element, and a value of FALSE is returned, otherwise a value of TRUE is returned.

Usage: IsEmailValid("FormName","ElemName")

Demo (All JavaScript browsers )

License: Webmonkey Public License

Cut, paste, and enjoy!


Feedback  |  Help  |  About Us  |  Contribute  |  Jobs
Advertise  |  Privacy Statement  |  Terms and Conditions

Copyright © 1994-2000 Wired Digital Inc., a Lycos Network site. All rights reserved.