patriciaxxx
Programmer
Can anyone help with the exact reverse of the following line. I tried inserting Not ! but i think I must be putting it in wrong place.
if (email.indexOf("@") < 1 || email.lastIndexOf(".") < email.indexOf("@") + 2 || email.lastIndexOf(".") + 2 >= email.length) {
alert ("I need this to show when the exact opposite of the if statement occurs")
}
Any help would be much appreciated
Thank you
if (email.indexOf("@") < 1 || email.lastIndexOf(".") < email.indexOf("@") + 2 || email.lastIndexOf(".") + 2 >= email.length) {
alert ("I need this to show when the exact opposite of the if statement occurs")
}
Any help would be much appreciated
Thank you