Inserting text in teaxtarea cannot recognize new line
<p>I am reading from a <code>&lt;td&gt;</code> and inserting the text in a textarea but all texts appearing in one line.  I want to keep the formatting in the textarea as the text read from the column.  </p>

<pre><code> $("#text").text($.trim($(this).closest('tr').next('tr').find('.mytext).text()));
</code></pre>

<p>The text should be </p>

<pre><code> my test is working with spaces but not with new line.  &lt;br /&gt;This is a new line.
</code></pre>

<p>But it seems that it not able to interprete the <code>&lt;br/&gt;</code>.  How can I make it read the <code>&lt;br/&gt;</code> and display a new line in the textarea.</p>
