Ver Mensaje Individual
  #2 (permalink)  
Antiguo 05/04/2005, 01:04
Avatar de JavierB
JavierB
Colaborador
 
Fecha de Ingreso: febrero-2002
Ubicación: Madrid
Mensajes: 25.052
Antigüedad: 22 años, 3 meses
Puntos: 772
Hola mariano_donati

Prueba esto.
Código PHP:
<html>
<
head>
<
script type="text/javascript">
function 
pulsar(e,obj) {
  
tecla=(document.all) ? e.keyCode e.which;
  if(
tecla==13
    
obj.value+='<br>';
}
</script>
</head>
<body>
<textarea onkeypress="pulsar(event,this)"></textarea>
</body>
</html> 
Saludos,