Codice:<html> <body bgcolor="black" link="white" alink="grey" vlink="purple" text="pink"> <form name="form1"> <b>Login:</b><br> Username: <input type=text name="txtusername"> <br> Password: <input type=text name="txtpassword"> <br> <input type="submit" name="cmdaccedi" value=Accedi> <script language="vbscript"> sub cmdaccedi_onclick() if form1.txtusername.text="utente" and form1.txtpassword.text="password" then <a href="Main.htm"> else form1.txtusername.text="" form1.txtpassword.text="" end if end sub </script> </form> </body> </html>
Vorrei che l'utente inserisse i propri dati e poi fosse mandato alla pagina "Main.htm".
Questo----> <a href="Main.htm"> però non mi funziona
Come devo fare?
grazie

LinkBack URL
About LinkBacks

