Ver Mensaje Individual
  #6 (permalink)  
Antiguo 08/01/2008, 14:14
berfer
 
Fecha de Ingreso: mayo-2003
Mensajes: 33
Antigüedad: 21 años, 9 meses
Puntos: 0
Re: como puedo hacer esto

ok, ya lo tengo. Pongo el resultado por si a alguien le sirve de algo.

function Saltar() {
var
control = document.formu.password.value;
control2="tarifas";

if (control == control2)
{

window.location="tarifas/home.html";
return false;
}else alert("LA CLAVE NO ES CORRECTA");
}
</SCRIPT>
</head>
<body>
<center>
<img src="difusion2.gif" border="0"><br><br><br><br><br>

<B>ZONA DEALERS</B><br><br>


<form method="post" name="formu" id="formu" onsubmit="return Saltar()">
Introduzca la password: <input type="text" name="password" value=""><br>
<br><br>
<input type="submit" value=" Enviar ">

</form>

</center>
</html>
</body>


Muchas gracias a todos.