hi,
Below is the function for email validation.
I got it from the net some time ago...
You can use it for ur implementation right away(ready to use :))
function isAValidEmail( emailField )
{
var emailregex=/^[\w]+\+?\w*@[\w]+\.[\w.]+\w$/;
var match=emailField.match( emailregex );
if ( !match )
{
return false;
}
else
{
return true;
}
}
Hope this helps
Regards
Nazneen
|