jquery :contains selector in child window
<p>I have a child window that I am trying to use jquery :contains selector, but it does not work.</p>

<pre><code>var child = window.open("index.html", null);
child.document.close();//I saw somewhere this was necessary...
$(child.document).ready(function() {
    setTimeout( function() { // necessary to wait a few seconds
        console.log($('.navigation .option:nth-child(4)', child.document).length);
        console.log($('.navigation .option:contains("Item4")', child.document).length);
    }, 5000);
});
</code></pre>

<p>The :nth-child correctly returns: "Item4".  The second fails to find.  The HTML is:</p>

<pre><code>&lt;div class="navigation"&gt;
    &lt;div class="option"&gt;Item1&lt;/div&gt;
    &lt;div class="option"&gt;Item2&lt;/div&gt;
    &lt;div class="option"&gt;Item3&lt;/div&gt;
    &lt;div class="option"&gt;Item4&lt;/div&gt;
&lt;/div&gt;
</code></pre>

<p>In a normal window, the :contains selector works - no problem.  It seems that jquery cannot handle :contains in a child window.  Is this true?</p>
