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,