Hi! I need some help with a school workshop. It's one simple task. This has something to do with password. I have already done a password protection through prompt but this time, i do not want it to prompt. The user will input the username and password on a single html page.
I am supposed to make an html page which contains a textbox and a password input type and also a login button. The user must input a username and password. Upon clicking the login button, if both password and username are correct, a small window with specific length and width pops-up. If either of the username or passord is incorrect, the user the window will not popup.
I cant seem to proceed to the popup window due to the login process problem.
So you're saying if uname=myuname and pword = pass, open the window. That's all good, because myuname = 'juan' and pword = '123' (as specified in your script), but what are the variables uname and pass equal to?
I've switched careers...
I'm NO LONGER a scientist,
but now a web developer...