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

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -