Get class of selected radio in a button group
<p>How to hide a div if the selected radio of a radio button group has a class other than "red"?</p>

<pre><code>&lt;form&gt;
  &lt;input class="blue" name="model" value="XTC_01" type="radio"&gt;
  &lt;input class="red"  name="model" value="XTC_02" type="radio"&gt;
  &lt;input class="red"  name="model" value="XTC_03" type="radio"&gt;
  &lt;input class="blue" name="model" value="XTC_04" type="radio"&gt;
&lt;/form&gt;

&lt;div id="red_info"&gt;Hidden if selected radio class is not "red".&lt;/div&gt;
</code></pre>

<p>Thanks for Your advice.</p>
