why "$(opener.document).ready()" is not working?

Posted by KK on Stack Overflow See other posts from Stack Overflow or by KK
Published on 2009-12-11T05:39:27Z Indexed on 2010/04/30 20:37 UTC
Read the original article Hit count: 133

Filed under:
|

I tried something like, below in popup-window, but not working...

any correction at line 3, please suggest.

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

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about JavaScript