title: jquery replace is not working for single quote
body: <p>I'm trying to strip out the single quote from my options in a select box, but the below doesn't appear to be working:</p>
  
  <pre><code>$(function(){
    $("#agencyList").each(function() {
      $("option", $(this)).each(function(){
        var cleanValue = $(this).text();
        cleanValue.replace("'","");
        $(this).text(cleanValue);
      });
    });
  });
  </code></pre>
  
  <p>It still has the single quote. The select is built with a JSTL forEach loop. Can anyone see what might be going wrong?</p>