title: Jquery .val() not returning line-breaks in a textarea
body: <p>I got problem with line breaks in a textarea.</p>
  
  <p>I get the text with .val() function:</p>
  
  <pre><code>var messageBody = $('#composeInput').val();
  </code></pre>
  
  <p>This is my ajax request</p>
  
  <pre><code>$.ajax({
      url: 'serverScripts/messages/addMessage.php',
      data: 'messageBody='+messageBody+'&amp;invitedJSONText='+invitedJSONText,
      success: function(){
          //Do something
      }
  });
  </code></pre>
  
  <p>And PHP:</p>
  
  <pre><code>$messageBody = nl2br(mysql_real_escape_string($_GET['messageBody']));
  </code></pre>
  
  <p>The text:</p>
  
  <blockquote>
    <p>Hi!</p>
    
    <p>How are you?</p>
  </blockquote>
  
  <p>Becomes:</p>
  
  <blockquote>
    <p>Hi! How are you?</p>
  </blockquote>
  
  <p>If I insert the variable messageBody to an another div-element I can't see any \n is this normal. How do I fix this?</p>