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


MoldRat
12-24-2003, 03:30 PM
Ok, so I have a window open another window. How can I get the second window to tell the first window to execute a script on the first window?

fredmv
12-24-2003, 03:53 PM
Welcome to the forums.

You can access any object within the parent window, or more correctly, the opener, by using the opener object. For example, if you wanted to run a function called foo in the opener, you would do this:opener.foo();