title: Changing check boxes combination based on radio button selected value?
body: <p>I have a system in which student will have to select his class via radio buttons. And then I want to display course offered for that class via check boxes so he can check subjects.Or in simple word I want to display different check boxes for different radio button selected value.Help needed for this?</p>
  
  <pre><code>BCA
  &lt;input type="radio" name="Course_BCA" value="BCA"&gt;
  B.Com
  &lt;input type="radio" name="Course_BCA" value="B.Com"&gt;
  B.Sc
  &lt;input type="radio" name="Course_BCA" value="B.Sc"&gt;
  B.A
  &lt;input type="radio" name="Course_BCA" value="B.A"&gt;
  </code></pre>
  
  <p>Here should be checkboxes,If BCA is selected by user then</p>
  
  <pre><code>&lt;input type="checkbox" name="eng" value="English"&gt;
  &lt;input type="checkbox" name="math" value="math"&gt;
  </code></pre>
  
  <p>would be diplayed.and if he selects B.Com then </p>
  
  <pre><code>&lt;input type="checkbox" name="stat" value="stat"&gt;
  &lt;input type="checkbox" name="comp" value="comp"&gt;
  </code></pre>
  
  <p>should displayed to him.And same is case for rest to two.How I will do this?</p>