why "$(opener.document).ready()" is not working?
<p>I tried something like, below in popup-window, but not working...</p>

<p>any correction at line 3, please suggest.</p>

<pre><code>function closePopup() {
 window.opener.history.go(0);
 $(opener.document).ready(function(){
  window.opener.some_function(some_variable);
  self.close();
 });
}
</code></pre>
