How to use JQUERY to select a radio button : <p>I intend to write a piece of code to select one option in a radio button. I used the following code which is saw being used to select a dropdown. I modified it and used it but its not working. Could you please point out my error?</p>

<pre><code>$("div.classradio radio").val("Male");
</code></pre>

<p>this is the code I used but it doesn't work.</p>
