Is there no Javascript LIKE statement?
- by Etienne
I want to do this but dont know how to do it in JavaScript.
if (Email == "*aol.com" || Email == "*hotmail*" || Email == "*gmail*" || Email == "*yahoo*")
{
alert("No Hotmail, Gmail, Yahoo or AOL emails are allowed!");
return false;
}
Any way around this?