title: one radio button will be selected at a time
body: <p>I have a jsp page which shows the radio button content(on clicking it,select box will appear ) of a table.But here I'm unable select one radio button(with select box) at a time.I'm showing you the code.</p>
  
  <pre><code>&lt;table&gt;
  &lt;tr&gt;
  &lt;td&gt;&lt;input type="radio" onclick="document.getElementById('select1000').style.display=(this.checked)?'inline':'none';" name="license" value="1000"&gt; 1-1000&lt;/td&gt;
  &lt;td&gt;
  &lt;div id="select1000" style="display: none"&gt;
  &lt;select id=""&gt;    
  &lt;option test="l25" value="25"&gt;25&lt;/option&gt;
  &lt;option test="l100" value="100"&gt;100&lt;/option&gt;
  
  &lt;/select&gt;
  &lt;/div&gt;
  &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
  &lt;td&gt;&lt;input type="radio" onclick="document.getElementById('select3000').style.display=(this.checked)?'inline':'none';" name="license" value=""&gt; 1001-3000&lt;/td&gt;
  &lt;td&gt;
  &lt;div id="select3000" style="display: none"&gt;
  &lt;select id=""&gt;
  &lt;option test="l1001" value="1001"&gt;1001&lt;/option&gt;
  &lt;option test="l1075" value="1075"&gt;1075&lt;/option&gt;
  
  &lt;/select&gt;
  &lt;/div&gt;
  &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
  &lt;td&gt;&lt;input type="radio" onclick="document.getElementById('select5000').style.display=(this.checked)?'inline':'none';" name="license" value=""&gt; 3001-5000&lt;/td&gt;
  &lt;td&gt;
  &lt;div id="select5000" style="display: none"&gt;
  &lt;select id=""&gt;
  &lt;option test="l3001" value="3001"&gt;3001&lt;/option&gt;
  &lt;option test="l3075" value="3075"&gt;3075&lt;/option&gt;
  
  &lt;/select&gt;
  &lt;/div&gt;
  &lt;/td&gt;
  &lt;/tr&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>Where I am going wrong ..... any valuable input will be appreciated.</p>