background
|
|
Linux
Linux Support
A small area on the internet for Linux Support.
More icon

Games
Ruffnecks Gaming
Gaming for everyone
More icon
|
|
Up Image
Navigation
Search this Site
Enter your search terms

Site Breadcrumb - You are here
|
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 )

Cut, paste, and enjoy!