Use this JavaScript to validate Email addresses on the client-side.
To validate an Email address, use the function in the following manner:
isEmail(someEmailAddress) . The function returns true
if the Email is valid, else the function returns false .
The isEmail() function does not use regular expressions
while the isEmail2() function uses regular expression for
validation. |