Ver Mensaje Individual
  #2 (permalink)  
Antiguo 31/05/2005, 09:15
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
Hola gabitoste

Prueba con este código:
Código PHP:
<html>
<
head>
<
script>
function 
pulsar(e) {
  
tecla = (document.all) ? e.keyCode :e.which;
  return (
tecla!=13);
}
</script>
</head>
<body>
<form>
<input type="text" onkeypress="return pulsar(event)" />
<input type="submit" />
</form>
</body>
</html> 
Saludos,