title: Ajax response with newlines for textarea
body: <p>I have a problem concerning an ajax-request that should return a string from the server with newlines (\n) to fill the textarea.</p>
  
  <p>When I do the following just with javascript, it works and shows 2 lines in the textarea:</p>
  
  <pre><code>function fillTextArea(){
  document.getElementById('myTextArea').innerHTML = "Line1\nLine2";
  }
  </code></pre>
  
  <p>But if I get the value from the server using ajax, the \n is treated like all the other characters of the String and there's just one line</p>
  
  <pre><code>function fillTextArea() {
  new Ajax.Request("/myUrl/....",{
      asynchronous:true,
      evalScripts:true,
      onSuccess:function(transport){
          document.getElementById('myTextArea').innerHTML = transport.responseText;
      }
  });
  }
  </code></pre>
  
  <p>Does anybody know how to deal with newlines in the responseText of an ajax request?</p>