title: Adding a new line to text string with jquery .text() method
body: <p>When I do:</p>
  
  <pre><code>function testtext()
  {
      var text = "test line 1\n\
      test line 2"
      ;
      $("#divtext").text(text);   
  }
  </code></pre>
  
  <p>It all appears on one line. When I do:</p>
  
  <pre><code>function testtext()
  {
      var text = "test line 1\n\
      test line 2"
      ;
      document.getElementById("divtext").innerText = text;    
  }
  </code></pre>
  
  <p>It works fine...</p>