jQuery - Selecting elements from string
<p>I need to select first table and then second table from the html in string. I know this can be done by selector <code>:eq(0)</code> and <code>:eq(1)</code>, but</p>

<pre><code>var firstTable = $("table", "&lt;table&gt;&lt;/table&gt;").length;
</code></pre>

<p><code>firstTable == 0</code>. Why?</p>
