title: jQuery: can't get radio button value
body: <p>I have the following jsfiddle:</p>
  
  <p><a href="http://jsfiddle.net/rpp6s/" rel="nofollow">http://jsfiddle.net/rpp6s/</a></p>
  
  <p>I want to alert the value of the second radio button form. But if I select a value from the first form, it's value appears in the alert instead of the second form's value.</p>
  
  <p>html:</p>
  
  <pre><code>&lt;form id="formOne"&gt;
  New invoice &lt;input id="radioNewInvoice" name="groupOne" type="radio" value="new"&gt;&lt;/input&gt;
   Modify existing invoice&lt;input id="radioModInvoice" name="groupOne" type="radio" value="mod"&gt;&lt;/input&gt;
  &lt;/form&gt;
  
  
  
  &lt;form id="form2"&gt;
      &lt;input id="normal" type="radio" name="groupTwo" value="normal" /&gt; normal &lt;br&gt;
      &lt;input id="30days" type="radio" name="groupTwo" value="30days" /&gt; 30 days &lt;br&gt;
      &lt;input id="60days" type="radio" name="groupTwo" value="60days" /&gt; 60 days &lt;br&gt;
      &lt;input id="90days" type="radio" name="groupTwo" value="90days" /&gt; 90 days &lt;br&gt;
      &lt;input id="90pdays" type="radio" name="groupTwo" value="90+days" /&gt; 90+ days &lt;br&gt;
  &lt;/form&gt;
  
  &lt;input id="but" type="button" value="click" /&gt;
  </code></pre>
  
  <p>javascript:</p>
  
  <pre><code>$('#but').click(function() {
      alert($("input[@name=groupTwo]:checked").val());
  });
  </code></pre>