replace.() does not work. Jquery
<p>I simply try to use the <code>.replace()</code> Jquery function. And it does not work.</p>

<p>html:    </p>

<pre><code>&lt;div class="try"&gt; &lt;/div&gt;
</code></pre>

<p>js:</p>

<pre><code>var valr='r';
valr.replace('r', 't');
$('.try').prepend('&lt;div&gt; ' + valr + '&lt;/div&gt;');
</code></pre>

<p>Result: I get 'r', while I would like to get 't'</p>

<p>Any idea on why it doesn't work?</p>

<p>Thank you.</p>
