title: Can't remove readonly from a html select using jQuery
body: <p>I'm trying to dynamically remove the 'readonly' attribute from some HTML elements.</p>
  
  <p>I've created a [JSFiddle here][1] to show my issue, here is my code snippet:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>$('#theButton').on('click', function() {
    $('#mySelect').removeProp('readonly');
    $('#textInput').removeProp('readonly');
    //stop the form posting back
    return false;
  })</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"&gt;&lt;/script&gt;
  &lt;form&gt;
    &lt;label&gt;Some input fields&lt;/label&gt;
    &lt;input type='text' class='form-control' id='textInput' readonly&gt;
    &lt;select id='mySelect' readonly class='form-control input-sm '&gt;
      &lt;option&gt;1&lt;/option&gt;
      &lt;option&gt;2&lt;/option&gt;
      &lt;/select&gt;
    &lt;button class='btn btn-primary' id='theButton'&gt;
      Enable Button
      &lt;/button&gt;
  &lt;/form&gt;</code></pre>
  </div>
  </div>
  </p>