How can I replace '/' in a Javascript string with another character
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/3858552/javascript-replace-all-with-in-a-string">JavaScript replace all / with \ in a string?</a>  </p>
</blockquote>



<p>I have a <code>date='13/12/2010'</code> I want to replace this '/' to '_' or something else.</p>

<p>I read <a href="http://w3schools.com/jsref/jsref_replace.asp" rel="nofollow">this</a>  But I do not know how can that applied for my case .</p>
