Ver Mensaje Individual
  #2 (permalink)  
Antiguo 02/02/2007, 04:25
Avatar de JavierB
JavierB
Colaborador
 
Fecha de Ingreso: febrero-2002
Ubicación: Madrid
Mensajes: 25.052
Antigüedad: 22 años, 2 meses
Puntos: 772
Re: Sentencia IF para que enlace a otra pagina

Hola Spiroweb. Bienvenido al foro.

Prueba esto:
Código:
<form>
<input type="text" name="txt" />
<input type="button" onclick = "if (txt.value=='pepe') location='tupagina.html'" />
</form>
Saludos,