Test2
From RoyalWeb
Line 1: | Line 1: | ||
− | + | <html><script language="javascript"> | |
+ | <!--// | ||
+ | /*This Script allows people to enter by using a form that asks for a | ||
+ | UserID and Password*/ | ||
+ | function pasuser(form) { | ||
+ | if (form.id.value=="userID") { | ||
+ | if (form.pass.value=="password") { | ||
+ | location="page2.html" | ||
+ | } 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>Login | ||
+ | Area</b></i></h1></center></center> | ||
+ | </html> |