how replace a character in a string in javascript
<p>i have a string :</p>

<pre><code>var s="here_we_go";
</code></pre>

<p>how can i replace all occurrence of '_' by '$' so the string will become:  </p>

<pre><code>s="here$we$go";
</code></pre>
