title: Having trouble using jQuery change() with checkboxes
body: <p>I'm trying to add/remove a class and attribute to a few labels and input boxes depending on whether or not a checkbox is checked or not.</p>
  
  <p>By default my check box is set up to be not checked. Here is my existing code...</p>
  
  <pre><code>$("#built").change(function()
  {
      $("label.readonly").removeClass("readonly");
      $("input.readonly").removeAttr("readonly");
  }).change();
  </code></pre>
  
  <p>For some reason the event isn't firing. What am I doing wrong? Thanks!</p>
  
  <p>Update:</p>
  
  <p>Here is my html code</p>
  
  <pre><code>&lt;label for="address1" class="readonly"&gt;Address Line 1&lt;/label&gt;
  
  &lt;input type="text" name="address1" class="readonly" readonly="readonly" value="" /&gt;
  </code></pre>
  
  <p>Also, upon the check box being unchecked I would like the labels and inputs to revert back to its original state of having the readonly class and attribute respectively.</p>