I am trying to input validation of a form but when I debug my code the the debugger gives me an error of Incompatible Type. My code is below.
if(frm.input.value<'a' || frm.input.value>'z' || frm.input.value!='@' && frm.input.value!='.')
{
alert("Not a valid E-mail adress");
}