JavaScript/<text area >
<pre><code>alert("...");

var values = "value1
valu2part1 value2part2 
value3
valu4";
alert(values);
</code></pre>

<p>I am assigning:</p>

<pre><code>var values = "&lt;%=Model.Values%&gt;";
</code></pre>

<p>These values are stored in a database.  The values are entered through a textarea
and in the database each line is seperated by <code>\t\r</code>.</p>

<p>When I take this to a JavaScript variable using:</p>

<pre><code>var values = "&lt;%=Model.Values%&gt;";
</code></pre>

<p>I am getting some thing like:</p>

<pre><code>var values = "value1
valu2part1 value2part2
value3
valu4";
</code></pre>

<p>But this is anerror.  What can I do?</p>
