how to handle Enter key in between the string in javascript?
<p>I have a string <code>Text</code> which has enter key values in between the string. While retrieving the value in JavaScript I do like this:</p>

<pre><code>text = "${value.text}";
</code></pre>

<p>If I have a text where user uses Enter key to type text in next line the words they enter after pressing enter key is not displaying properly showing me error <code>Unterminated string</code>. Can somebody help me out?</p>
