using jquery to select window.opener
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/2167455/how-to-access-parent-window-object-using-jquery">how to access parent window object using jquery?</a>  </p>
</blockquote>



<p>I have the following jquery code </p>

<pre><code>var events = $(window.opener).find("tr.athletics-date");
        var events_length = events.length;
</code></pre>

<p>I'm trying to retrieve all of the tr tags with class athletics-date from the parent page (which opened up the present new page) and its not working. The class name is correct, what am I doing wrong? events_lenth came up as 0!</p>
