title: onchange not working with radio button
body: <p>I have a few radio buttons which should call hider(something); when they change, meaning when they are checked or unchecked. This works, i.e. when checked they call the JS function, however, if they're unchecked due to selecting another radio button from that group, it does not call the js script again.</p>
  
  <p>Do I need to use something else than onchange?</p>
  
  <p>This is what the radio buttons look like at the moment:</p>
  
  <pre><code>&lt;input name="ostype" type="radio" value="0" onchange="hider(solaris);"&gt;solaris
  &lt;input name="ostype" type="radio" value="1" onchange="hider(linux);"&gt;linux
  </code></pre>
  
  <p>My hider function is currently:</p>
  
  <pre><code>function hider(divid) {
   if ($(divid).is('.hidden')) {
    $(divid).removeClass('hidden');
   } else {
    $(divid).addClass('hidden');
   }
  }
  </code></pre>