Menu
Hi –
Does anyone know how to change this javascript code so it will allow emails with the extension .ca ?
Right it allows emails with .com and several others. But not .ca
All those characters in the syntax make no sense to me. Also, if you know of a better email checking script that is free, let me know. Thank you!
Jeff
[CODE]
if (/^w+([.-]?w+)*@w+([.-]?w+)*(.w{2,3})+$/.test(newsletterForm.email.value))
{
return true;
}
else
{
alert(“You must enter a valid email address!”);
return false;
}