...

View Full Version : refresh parent window on close



angst
02-22-2007, 03:35 PM
Hello,
I'm wondering how i can refresh the parent window when closing a popup.

I know that i can do it by click a link to execute a js function. but I'm looking for a way to refresh the parent even if the user just clicks the "X" in the upper right corner to close the window.

any ideas would be great!

thanks in advance for your time!
-Ken

LFCFan
02-22-2007, 03:43 PM
Is this to make the same popup reappear? tut tut tut! ;)

You could probably use window.onunload(window.opener.parent.location.reload()) from the popup to refresh the parent. Or something along those lines.

HTH

Joe

angst
02-22-2007, 03:47 PM
no, just to make the parent window refresh displaying the data that was inserted using the popup.

thanks, i'll try that.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum