title: textarea line break jquery
body: <p>I have got a button 'edit description' when I click on it text disappear   and appear  </p>
  
  <pre><code>        if (id == 'commedit') jQuery(this).html('&lt;textarea&gt;'+jQuery(this).text()+'&lt;/textarea&gt;');
          else if (id == 'commsave') {
              jQuery(this).text(jQuery(this).find('textarea').val());
          }
  </code></pre>
  
  <p>In MySql I have this text - <code>"tetee&lt;br&gt;afafaf&lt;br&gt;afafaf&lt;br&gt;afsafsasfasf"</code> in view it dispays with line breaks but when I click 'edit' in text area which come with Jquery text appear without lines and when I click save it also appear in my description field in one long line without line breaks. So I need your help</p>