Reputation: 57974
If I open a window via
mywin = window.open(...);
Is there a way I can be notified when mywin
has loaded? I mean the opener be notified?
Upvotes: 0
Views: 76
Reputation: 382746
I think onload
event is what you are looking for:
mywin.onload = function(){
alert('The window has loaded');
};
Upvotes: 1
Reputation: 3084
This should work.
$(document).ready(function(){
// Do something
});
Upvotes: 0