Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

BBS: won't transport or display error message - July 23, 1998 at 06:21:01

You are here: irt.org | BBS | won't transport or display error message [This BBS is closed]

Posted by Kevin on July 23, 1998 at 06:21:01:

function verify () {
checkname = document.pass.passname.value ;
checkpass = document.pass.password.value ;
fullpass = checkname + ' ' + checkpass ;

users = 24 ;
userlist = new Array ;
userlist[0] = 'Ricky 1' ;
userlist[1] = 'Andrew 2' ;
userlist[2] = 'Gina 3' ;
userlist[3] = 'John 4' ;
userlist[4] = 'Michael 5' ;
userlist[5] = 'Tara 6' ;
userlist[6] = 'Jim 7' ;
userlist[7] = 'Linda 8' ;
userlist[8] = 'Darren 9' ;
userlist[9] = 'Marilyn 10' ;
userlist[10] = 'Sally 11' ;
userlist[11] = 'Jewel 12' ;
userlist[12] = 'Pamela 13' ;
userlist[13] = 'Bill 14' ;
userlist[14] = 'Leroy 15' ;
userlist[15] = 'Corrine 16' ;
userlist[16] = 'Ralph 17' ;
userlist[17] = 'NickM 18' ;
userlist[18] = 'Joseph 19' ;
userlist[19] = 'Michelle 20' ;
userlist[20] = 'Alexis 21' ;
userlist[21] = 'Susan 22' ;
userlist[22] = 'NickY 23' ;
userlist[23] = 'Kent 24' ;

for ( i = 0; i < users; i++) {
if (fullpass == userlist[i]) {
opener.location.href = 'file:///macintosh%20hd/Desktop%20Folder/Test/passfinal.html' ;
} else {
alert ('Wrong name or password, try again!') ;
}
}
}


This has non javascript errors but it won't transport
you to the protected web page or display
the alert message if you enter the wrong
login name. HELP PLEASE!

Follow-ups:

You are here: irt.org | BBS | won't transport or display error message [This BBS is closed]

©2018 Martin Webb