0 LIKES LikeUnLike
Just as my title states is what I want.I needs to be very simple!Thisis the one I've been using but it does NOT ask for the password BEFORE the Index page shows up.--------------------------------------...<script language="javascript"><!--///*This Script allows people to enter by using a form that asks for aUserID and Password*/function pasuser(form) {if (form.id.value=="0") { if (form.pass.value=="0") { location="place http: here" } else {alert("Invalid Password")}} else { alert("Invalid UserID")}}//--></script><center><table bgcolor="white" cellpadding="12" border="1"><tr><td colspan="2"><center><h1><i><b>LoginArea</b></i></h1></center></td></tr><tr><td><h1><i><b>UserID:</b></i></h1>... name="login"><inputname="id" type="text"></td></tr><tr><td><h1><i><b>Password:</b></i></h... name="pass"type="password"></td></tr><tr><td><center><input type="button" value="Login"onClick="pasuser(this.form)"></center>...type="Reset"></form></td></tr></table>...--------------------------------------...If you can turn thisone in to what I am looking for OR can give me another SIMPLE one that will not allow the Index page to display BEFORE password is entered correctly is MUCH appreciated.Also if you can make it soall I have to do is copy and paste would be very helpful to me.I do select the "Best Answer" answer.Thank you,g111r
Tags:
Report (0) (0) | earlier
Latest activity: earlier. This question has 1 answers.