I sure as hell can't find it (and it's probably staring at me right in the face):
function checkEmail() {
var userEmail = document.processLogin.emailAddr.value;
for (i = 0; i <= peiEmail.length; i++) {
peiEmail = peiEmail.toLowerCase();
if (peiEmail == userEmail) {
return true;
}
}
alert("I never get here!!");
return false;
}
I NEVER get to the point where it says "I never get here". Why?
- MT
function checkEmail() {
var userEmail = document.processLogin.emailAddr.value;
for (i = 0; i <= peiEmail.length; i++) {
peiEmail = peiEmail.toLowerCase();
if (peiEmail == userEmail) {
return true;
}
}
alert("I never get here!!");
return false;
}
I NEVER get to the point where it says "I never get here". Why?
- MT