title: How do I toggle the enabled status of a radio button group in jQuery?
body: <p>I have a group of radio buttons with a class of "laser2" on each button.  I have a checkbox with an ID of "duaL-laser".  I am trying to toggle the availability of the radio button group with the checkbox.  I know the class toggling works (for display purposes).  Here is my code.</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  $().ready(function() {
      //$('.laser2').attr('disabled', 'disabled');
      $('#dual-laser').click(function() {
          $('div#power-listing2').toggleClass('disable');
          $('.laser2').removeAttr('disabled');
      });
      if ($('#dual-laser').attr('checked', false)) {
          $('.laser2').attr('disabled', true);
      }
  
  });
  &lt;/script&gt;
  </code></pre>
  
  <p>This works when I check the checkbox.  But when I uncheck the checkbox, the radio buttons remain enabled.  Even though the if statement is true at the bottom of the code.  What gives?</p>