check the value of the radio button with the given value
<p>I try to implement the following code:</p>

<pre><code>  &lt;input type="radio" name="yesno2" value="yes" style="outline:0;"/&gt;Yes
          &lt;input type="radio" name="yesno2" value="no" style="margin-left:30px;    outline:0;"/&gt;No&lt;/div&gt;
</code></pre>

<p>in my javascript:</p>

<pre><code>  &lt;script&gt;
if ($("input[name='yesno2']").val() == "no") {
  alert("ddd");
 }
  &lt;/script&gt;
</code></pre>

<p>if I check no, it should show me the alert window, but it didn't show. sorry if I just show you part of the code, anyone could show me what am I doing wrong, thanks in advance!</p>
