Have a child window be notified when parent window goes to a different page?
Posted
by Heinrich Schmetterling
on Stack Overflow
See other posts from Stack Overflow
or by Heinrich Schmetterling
Published on 2010-05-27T19:05:30Z
Indexed on
2010/05/27
19:31 UTC
Read the original article
Hit count: 159
JavaScript
|jQuery
i have a parent window and a child window. in javascript, i want a function in child window to be called whenever the parent window loads a new page. i'd like to use something similar to jQuery's $(document).ready() so that I don't have to worry about whether the parent is done loading yet - but ready() only appears to fire when the window loads the first page - but not when, say, a link is clicked in the parent and it loads a second page.
any suggestions? thanks.
© Stack Overflow or respective owner