new line in javascript passed to get argument
<p>Im using .net multiline control. The I use jQuery to get data from that control:</p>

<pre><code>$('.detailsCommentContent').val()
</code></pre>

<p>in this moment when I alert that value new lines are visible.</p>

<p>Then I make request <code>www.example.com?commentContent= + "$('.detailsCommentContent').val()"</code></p>

<p>And in the http request there are no newLines signs at this moment.</p>

<p>What should I do to keep this new Lines symbols ?</p>

<p>thanks for help</p>
