title: Changing the dropdown value on click of radio button
body: <p>I am using spring with ibatis and jsp page for presentation. My question is I have one jsp page and the value of a drop list I am rendering through the model attribute, as shown below.</p>
  
  <pre><code>&lt;select id="describe" style="width: 500px;"&gt;
      &lt;c:forEach var="aff" items="${droplist}"&gt;
          &lt;option name="category" value="${aff.community_category_id}"&gt;
              ${aff.category}
          &lt;/option&gt;
      &lt;/c:forEach&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>And here is my radio button:</p>
  
  <pre><code>&lt;input type="radio" id="class" name="type" value="1" checked&gt;Class
  &lt;input type="radio" id="Club" name="type" value="2"&gt;Club
  &lt;input type="radio" id="Course" name="type" value="3"&gt;Course
  &lt;input type="radio" id="Community" name="type" value="4"&gt;Community
  </code></pre>
  
  <p>On clicking any radio button it needs to change the content of the dropdown list.</p>
  
  <p>Any idea I am not getting.</p>
  
  <p>Thanks.</p>