title: Validate set of radio buttons using Jquery
body: <p>How to validate a set of radio buttons having different name attribute.</p>
  
  <p>For ex: </p>
  
  <pre><code>&lt;div id="divTest"&gt;
       &lt;ul&gt;
            &lt;li&gt;&lt;input type="radio" name="rdo0"&gt;&lt;span&gt;Good&lt;/span&gt;&lt;/li&gt;
            &lt;li&gt;&lt;input type="radio" name="rdo0"&gt;&lt;span&gt;Average&lt;/span&gt;&lt;/li&gt;
            &lt;li&gt;&lt;input type="radio" name="rdo0"&gt;&lt;span&gt;Bad&lt;/span&gt;&lt;/li&gt;
      &lt;/ul&gt;
  
      &lt;ul&gt;
            &lt;li&gt;&lt;input type="radio" name="rdo1"&gt;&lt;span&gt;Test&lt;/span&gt;&lt;/li&gt;
            &lt;li&gt;&lt;input type="radio" name="rdo1"&gt;&lt;span&gt;Test 2&lt;/span&gt;&lt;/li&gt;
            &lt;li&gt;&lt;input type="radio" name="rdo1"&gt;&lt;span&gt;Test 3&lt;/span&gt;&lt;/li&gt;
      &lt;/ul&gt;
  
  &lt;/div&gt;
  </code></pre>
  
  <p>i want to validate that every "ul" should have a selected radio button and get appropriate message in either case. </p>