title: Compare the value of selected radio button
body: <p>I have below code for radio button. When particular user select the 2nd radio button(value="Selection_MQ--") then I need to check if user has selected that particular button only then show message via alert message correct answer, and if select first one(value="Selection_MA--") then wrong answer.  how I can do this?</p>
  
  <pre><code>&lt;td valign="center"&gt;&lt;input type="radio" class="question selection" name="Answer_1" id="Answer_1" value="Selection_MA--"  /&gt;&lt;/td&gt;
        &lt;td valign="center"&gt;&lt;span class="answer text"&gt;No&lt;/span&gt;&lt;/td&gt;
  &lt;td valign="center"&gt;&lt;input type="radio" class="question selection" name="Answer_1" id="Answer_1" value="Selection_MQ--" /&gt;&lt;/td&gt;
        &lt;td valign="center"&gt;&lt;span class="answer text"&gt;Yes&lt;/span&gt;&lt;/td&gt;
  var Answer_1_data = $('input[name="Answer_1"]:checked').val();
  </code></pre>