Jquery nextuntil select radios
<p>I have the following markup (this is an example there are hundreds)</p>

<pre><code>&lt;div class="Q3"&gt; 1. Suspension &amp; Chassis &lt;span id='q6_p01'&gt;2&lt;/span&gt;&lt;/div&gt;

      &lt;input type="radio" name="r6_p01" id="r6_p01_1" value="1"/&gt;
      &lt;input type="radio" name="r6_p01" id="r6_p01_2" value="2"/&gt;

&lt;div class="Q3"&gt; 2. Suspension &amp; Chassis &lt;span id='q6_p01'&gt;2&lt;/span&gt;&lt;/div&gt;
</code></pre>

<p>And I want to find out how many radio buttons I have from one div to the next.</p>

<p>I have tried:</p>

<pre><code>var selection = $("div.q3:eq(0)").nextUntil('div','input[type="radio"]').length;
</code></pre>

<p>And endless variations on that theme, but I always get an answer of 0.  </p>

<p>What am I missing?  Any help would be greatly appreciated!</p>

<p>Nick </p>
