title: Dynamic alerts with radio buttons
body: <p>I have this HTML form below (radio buttons) which is having 3 questions with answers A, B and C.</p>
  
  <pre><code>&lt;fieldset&gt;
  &lt;legend&gt;Question 1:&lt;/legend&gt;
  &lt;label&gt;&lt;input type="radio" value="1" name="first" /&gt;A&lt;/label&gt; &lt;br /&gt;
  &lt;label&gt;&lt;input name="first" type="radio" value="2" /&gt;B&lt;/label&gt; &lt;br /&gt;
  &lt;label&gt;&lt;input name="first" type="radio" value="3" /&gt;C&lt;/label&gt; &lt;br /&gt;
  &lt;/fieldset&gt;
  
  &lt;fieldset&gt;
  &lt;legend&gt;Question 2:&lt;/legend&gt;
  &lt;label&gt;&lt;input type="radio" value="1" name="second" /&gt;A&lt;/label&gt; &lt;br /&gt;
  &lt;label&gt;&lt;input name="second" type="radio" value="2" /&gt;B&lt;/label&gt; &lt;br /&gt;
  &lt;label&gt;&lt;input type="radio" value="3" name="second" /&gt;C&lt;/label&gt; &lt;br /&gt;
  &lt;/fieldset&gt;
  
  &lt;fieldset&gt;
  &lt;legend&gt;Question 3:&lt;/legend&gt;
  &lt;label&gt;&lt;input type="radio" value="1" name="third" /&gt;A&lt;/label&gt; &lt;br /&gt;
  &lt;label&gt;&lt;input name="third" type="radio" value="2" /&gt;B&lt;/label&gt; &lt;br /&gt;
  &lt;label&gt;&lt;input type="radio" value="3" name="third" /&gt;C&lt;/label&gt; &lt;br /&gt;
  &lt;/fieldset&gt;
  
  &lt;div id="display"&gt;Please answer all the questions&lt;/div&gt;​
  </code></pre>
  
  <p>What I need here is a jQuery script to display 3 answers dynamically. The 3 answers should be like below:</p>
  
  <ol>
  <li><p>Answer 1 (if 2 or more answers are A)</p></li>
  <li><p>Answer 2 (if 2 or more answers are B)</p></li>
  <li><p>Answer 3 (if 2 or more answers are C)</p></li>
  </ol>
  
  <p>Nothing is displayed if the answers are A, B and C.</p>
  
  <p>I'm not a jQuery pro but I just have the script (below) to check if the answers are completed or not. Can anyone help me with this?</p>
  
  <pre><code>$('input:radio').click(
  function() {
      var q = $('fieldset').length;
      console.log('q: ' + q + '; checked: ' + $('input:radio:checked').length);
      if ($('input:radio:checked').length == q){
          $('#display').text('You\'ve completed all questions!');
      }
      else {
          $('#display').text('You\'ve not yet finished...');
      }
  });​
  </code></pre>
  
  <p>Thanks in advance.
  JSFiddle Demo - <a href="http://jsfiddle.net/BhanuChawla/KSd3M/" rel="nofollow">http://jsfiddle.net/BhanuChawla/KSd3M/</a></p>