$('#form1:input') doesn't work
<p>What if I have 2 forms on 1 page:</p>

<pre><code>&lt;form id="form1"&gt;
    &lt;input type="text" /&gt;
    &lt;input type="text" /&gt;
&lt;/form&gt;

&lt;form id="form2"&gt;
    &lt;input type="text" /&gt;
&lt;/form&gt;
</code></pre>

<p>And I want to access the input elements of the first one.  I do the following:</p>

<pre><code>$(document).ready(function() {
    var bla = $('#form1:input');
    alert(bla.length);
}); 
</code></pre>

<p>But it displays 0 count.  I'll appreciate if somebody can advise.</p>

<hr>

<p>Thank you.  The following syntax worked for me:</p>

<pre><code>$('#form1 :input')
</code></pre>

<p>that is, putting the space.</p>
