Click to See Complete Forum and Search --> : Refreshing a Parent window


NetworkRanger
03-07-2003, 02:09 PM
Can I accomplish the following:

1. A child window is opened using window.open.

2. The child window either presents a form or executes some script to do something.

3. After the form is submitted or the script is complete, the child window refreshes or reloads the parent window and the automatically closes.


I can handle 1 and 2, but I am not sure about 3.
Any ideas?

NetworkRanger
03-07-2003, 02:34 PM
I successfully created a window that I can call and in the onload event I used window.close. Now if I can find out how to refresh or reload the parent window I should be golden....

Dan Drillich
03-07-2003, 02:46 PM
window.opener.location.reload();

NetworkRanger
03-07-2003, 02:51 PM
Here is what i used in the onload event:

javascript:window.opener.location.reload();window.close();

This has solved my problem for now...