[thelist] Sending data back to a parent window

R.Livsey R.Livsey at cache-22.co.uk
Tue Sep 4 09:49:16 CDT 2001


How can a new window send data back to its parent window?

In a nutshell:

Page 1 contains a list of files. Clicking on a filename opens up a popup
window with the file contents and an 'edit' button.
When the edit button is clicked I want to close the window (that I can
do!) and tell the parent to go to edit.php with some data in the
querystring or passed as form data.

Any ideas how I do this?
Basically, I need the new window to tell the parent to go to
edit.php?file=foo&dir=bar

Cheers.

R.Livsey
------------------------------------------
Someday we'll look back on all this and plow into a parked car.
------------------------------------------
Lead Programmer for the Tickle Group
Freelance work always welcome
[ PHP | Perl | mySQL | Java ]
w : cache-22.co.uk
e : R.Livsey at cache-22.co.uk
m : +447764 685 701
i  : 37530949 





More information about the thelist mailing list