Forum Moderators: open

Message Too Old, No Replies

New window posting back [reloading] to the parent window?

Is this possible?

         

genem

9:04 pm on Oct 25, 2005 (gmt 0)

10+ Year Member



I know it is possible, I just don't know how.

Say there is a survey window that spawns after the link on the main window is clicked, how can I update main window [refresh] once the survey window is closed?

Thank you for all your help. JS always gives me troubles.

RonPK

10:03 am on Oct 26, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You can address the opener from the new window with window.opener. So in your case, something like this may be enough:


function exitProcedure() {
window.opener.reload();
window.close();
}
</script>
..
..
<a href="javascript:exitProcedure()">close me</a>

genem

11:35 am on Oct 26, 2005 (gmt 0)

10+ Year Member



Cool, thanks, RonPK.
Will give it a try!