Possible Duplicate:
how to access parent window object using jquery?
I have the following jquery code
var events = $(window.opener).find("tr.athletics-date");
var events_length = events.length;
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!