JQuery Reference for Popup Window
<p>How to have JQuery reference for popu window?</p>

<p>I have JS below:</p>

<pre><code>chatPage = window.open( ... );
chatPage.document.getElementById('someid');
</code></pre>

<p>I tried below but didn't work:</p>

<pre><code>$(chatPage).$('#someid');
</code></pre>

<p>Thanks</p>
