Ciao a tutti.
voglio valorizzare una textarea da javascrip con una stringa che javascrip riceve da una pagina jsp sul server

non riesco a fare i ritorno a capo.

sul server faccio:
stringaDaInviare = str1 + "\r\n" + str2 + ... ;

sul browser
<TEXTAREA NAME='txtAChat' id='txtAChat' COLS='20' ROWS='10' > </TEXTAREA>

<script>
var msgList = document.getElementById("txtAChat");
msgList.innerHTML = xmlHttp.responseText ;
</script>


il problema non è nuovo pero non sono riuscito a trarre vantaggio dai gia numerosi tread sull'argomento
es
http://forum.html.it/forum/showthread/t-1203610.html
http://www.actionscript.it/forum/arc...hp?t-1705.html

ciao e grazie da adesso