title: Replace all commas in a string with JQuery/Javascript
body: <p>I have a form where I have a couple hundred text boxes and I'd like to remove any commas when they are loaded and prevent commas from being entered. Shouldn't the follow code work assuming the selector is correct?</p>
  
  <pre><code>$(document).ready(function () {
    $("input[id*=_tb]")
    .each(function () {
        this.value.replace(",", "")
    })
    .onkeyup(function () {
        this.value.replace(",", "") 
    })
  });
  </code></pre>