jQuery problem with multiple radio selects
<p>I'm trying to validate a form that contains several different radio buttons. A few radio buttons in the form have the same classname 'video_type'. </p>

<p>In the jQuery validation script, after the form is submitted I want to check if any of the radio buttons with the classname 'video_type' have been selected. If the user has selected <strong>at least one</strong> radio button with the classname 'video_type' and the value as 1, it should return true. Otherwise it should return false.</p>

<p>At the moment I'm using this:</p>

<p><strong>HTML:</strong></p>

<pre><code>&lt;input type="radio" name="video_option_1" class="video_option" value="1"&gt;Yes
&lt;input type="radio" name="video_option_1" class="video_option" value="0"&gt;No

&lt;input type="radio" name="video_option_2" class="video_option" value="1"&gt;Yes
&lt;input type="radio" name="video_option_2" class="video_option" value="0"&gt;No
</code></pre>

<p><strong>jQuery:</strong></p>

<pre><code>$("#completeOrderForm").submit(function(){
 if($(".video_type").val() == 0){
   $("#showerrors").show().html("Please select a video type.");
   return false;
 } 
});
</code></pre>

<p>But I realise it's incorrect. What do I need to do?</p>
