Tema: Send Form
Ver Mensaje Individual
  #2 (permalink)  
Antiguo 23/02/2004, 02:03
Avatar de JavierB
JavierB
Colaborador
 
Fecha de Ingreso: febrero-2002
Ubicación: Madrid
Mensajes: 25.052
Antigüedad: 23 años
Puntos: 772
Hola, davidMS.

Prueba con este código:
Código PHP:
<html>
<
head>
<
script>
function 
pulsar(e) {
    
tecla=(document.all) ? e.keyCode  e.which;
    if (
tecla==13) {
        
tuformulario.submit();
        return 
false;
    }
}
</script>
</head>

<body>
<textarea onkeypress="return pulsar(event)">
</textarea>
</body>
</html> 
Saludos,