title: In jQuery, how do I get the value of a radio button when they all have the same name?
body: <p>Here is my code:</p>
  
  <pre><code>&lt;table&gt;
     &lt;tr&gt;
        &lt;td&gt;Sales Promotion&lt;/td&gt;
        &lt;td&gt;&lt;input type="radio" name="q12_3" value="1"&gt;1&lt;/td&gt;
        &lt;td&gt;&lt;input type="radio" name="q12_3" value="2"&gt;2&lt;/td&gt;
        &lt;td&gt;&lt;input type="radio" name="q12_3" value="3"&gt;3&lt;/td&gt;
        &lt;td&gt;&lt;input type="radio" name="q12_3" value="4"&gt;4&lt;/td&gt;
        &lt;td&gt;&lt;input type="radio" name="q12_3" value="5"&gt;5&lt;/td&gt;
     &lt;/tr&gt;
  &lt;/table&gt;
  &lt;button id="submit"&gt;submit&lt;/button&gt;
  </code></pre>
  
  <p>Here is JS:</p>
  
  <pre><code>$(function(){
      $("#submit").click(function(){      
          alert($('input[name=q12_3]').val());
      });
   });
  </code></pre>
  
  <p>Here is <a href="http://jsfiddle.net/ZkH8n/">JSFIDDLE</a>! Every time I click button it returns 1. Why? Can anyone help me?</p>