How to get an object of the window which is opened by clicking the link?
Posted
by the_V
on Stack Overflow
See other posts from Stack Overflow
or by the_V
Published on 2010-05-11T00:44:32Z
Indexed on
2010/05/11
0:54 UTC
Read the original article
Hit count: 289
Hi
I've got a link on the web page that causes new browser window (tab) to be opened when it's clicked, like this:
<a id="lnkNewWindow" target="_blank" href="http://google.com">Open window</a>
I want to be able to track the window that will be created after this link is clicked. I'd like to perform some actions after the new window is closed. Is there any way to do this (preferably using jQuery)?
© Stack Overflow or respective owner