:confused: I'm after a bit of javaScript to validate email address.
Can anyone can help?
Printable View
:confused: I'm after a bit of javaScript to validate email address.
Can anyone can help?
Perhaps something as simple as checking for an '@' and at least a '.' would work?
if (document.billing.Email.value != "")
if (document.billing.Email.value.indexOf('@',0) == -1 ||
document.billing.Email.value.indexOf('.',0) == -1)
error += "Please enter a valid email address of the form [email protected]." + "\n";
Well, when I want to 'fake' my email I usually just type in
[email protected]
or some other random keystrokes.
You can actually verify a persons email using a SOAP based webservice. It sends a quick check to lkjfgh.com to make sure that the domain exists and that sfakhg has an email account with them
Can't fool it unless you give it someone else's correct email address
Try it
http://beta2.eraserver.net/webservic...?op=CheckEmail
John