Click to See Complete Forum and Search --> : Auto refresh main window when pop-up closes


nialkeiz@hotmai
11-25-2003, 10:24 PM
Hi, my websites opens (when the user clicks a link) a pop-up to ask for information and i was wondering how can i refresh the main window when the user closes the pop-up ?

thanks a lot !

ray326
11-25-2003, 10:57 PM
The main window has to refresh itself when it sees the child window go away.

nialkeiz@hotmai
11-26-2003, 12:20 AM
And the code to do this would be something like? :$

thanks

fredmv
11-26-2003, 12:34 AM
In the child window:<script type="text/javascript">
onunload = function() { opener.location.reload(); }
</script>