title: get value from radio group using jquery
body: <p>I am trying to get value of radio group with name <code>managerelradio</code>. My html code for this radio group is.</p>
  
  <pre><code> &lt;label&gt;&lt;input type="radio" name="managerelradio" value="Yes" id="Add"&gt;Add&lt;/label&gt;
   &lt;label&gt;&lt;input type="radio" name="managerelradio" value="No" id="Remove"&gt;Remove&lt;/label&gt;
  </code></pre>
  
  <p>and Jquery for this is..</p>
  
  <pre><code>    var manageradiorel = $('input[name = "managerelradio"]:checked' , '#managechildform').val();
   alert(manageradiorel);
  </code></pre>
  
  <p>its showing me undefined.</p>
  
  <p>Though I have also tried it as.</p>
  
  <pre><code> var manageradiorel = $('input[name = "managerelradio"]:checked').val();
   alert(manageradiorel);
  </code></pre>
  
  <p>But still I am getting undefined value.</p>