javascript - Event on child window refresh -
i creating child window in javascript using following code:
var wnd = window.open( url ); how can determine whether child window refreshed or not? there event it?
thanks in advance.
i don't think there's event might looking events unload , beforeunload (the latter expecting string shown in popup). these triggered when: closing window, navigating new page or refreshing actual page.
so in case may write like:
var wnd = window.open( url ); wnd.onbeforeunload = function() { here } have @ this post more examples.
Comments
Post a Comment