slynx2002
01-24-2003, 10:07 PM
var psswd = loginpass;
var mmname = loginname;
alert('name is ' + mmname + ', password is ' + psswd + '.');
112-> if (psswd != "oh"){
alert('Only members ETC');
}
else
{
alert('Welcome, ETC.');
}
}
If I comment out from line 112 on, I get the alert before it OK. I have tried this if statement with various conditions and still get the same error. Have checked my books .... according to what they show, this should work .... Anybody see something I am missing? :confused:
var mmname = loginname;
alert('name is ' + mmname + ', password is ' + psswd + '.');
112-> if (psswd != "oh"){
alert('Only members ETC');
}
else
{
alert('Welcome, ETC.');
}
}
If I comment out from line 112 on, I get the alert before it OK. I have tried this if statement with various conditions and still get the same error. Have checked my books .... according to what they show, this should work .... Anybody see something I am missing? :confused: