So... Flogging through this wasn't as bad as I thought.
If you change:
var asci3=afterat.charCodeAt(j);
if((asci3<=44) || (asci3==46) || (asci3==47) || (asci3>=58 && asci3<=96) || (asci3>=123 && asci3<=127))
to:
var asci3=afterat.charCodeAt(j);
if((asci3<=44) ||...
I am working on an email validation field. I specialize in php, but have found a fairly impressive and inclusive javascript that works wonders.
The only thing wrong, is that it does not accept compound domain names after the "@", ex: email.arizona.edu. The two .'s trigger the false alert.
I...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.