title: JavaScript .replace doesn't replace all occurrences
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/832257/javascript-multiple-replace">Javascript multiple replace</a><br>
    <a href="https://stackoverflow.com/questions/2159251/how-do-i-replace-all-occurrences-of-in-a-string-with-in-javascript">How do I replace all occurrences of &quot;/&quot; in a string with &quot;_&quot; in JavaScript?</a>  </p>
  </blockquote>
  
  
  
  <p>In JavaScript, <code>"11.111.11".replace(".", "")</code> results in <code>"11111.11"</code>. How can that be?</p>
  
  <p>Firebug Screenshot:<br>
  <img src="https://i.stack.imgur.com/IVbG3.png" alt="Firebug Screenshot"></p>