Pretty new to javascript so please help. Why isn't this working in my
validateform()?
if (document.This. strOld.value.co mpareTo(Session ("strPassword") ) != 0)
{ alert("Current password incorrect");
return false;
}
If I write out Session("strPas sword") the value is 'password'. What am
I doing wrong?
Sunshine
validateform()?
if (document.This. strOld.value.co mpareTo(Session ("strPassword") ) != 0)
{ alert("Current password incorrect");
return false;
}
If I write out Session("strPas sword") the value is 'password'. What am
I doing wrong?
Sunshine
Comment