Ver Mensaje Individual
  #2 (permalink)  
Antiguo 09/06/2003, 02:24
Avatar de JavierB
JavierB
Colaborador
 
Fecha de Ingreso: febrero-2002
Ubicación: Madrid
Mensajes: 25.052
Antigüedad: 22 años, 4 meses
Puntos: 772
Hola, neoluke.

Te dejo este código. El problema es que no se porque razón no funciona en Nescafé A ver si alguien más avispado da con el error:
Código PHP:
<html>

<
head>
<
script>
function 
intro(e) {
    
tecla = (document.all) ? e.keyCode e.which;
        if (
tecla==13) return false;
}
</script>
</head>

<body>

<form method="POST" action="loquesea.php">
  <input type="text" onkeydown="return intro(event)">
  <input type="submit" value="Enviar" name="B1">>
</form>

</body>

</html> 
Saludos,