[Project_owners] Calling opener's function

Tracy Norris tnorris at nc.rr.com
Wed Aug 18 10:54:59 EDT 2004

You can pass the function to the openDialog call, which if then called 
in in the Dialog's event handlers will be called from the original 
document scope. I asked a similar question in the mailing list a few 
weeks ago, so you might want to check the history of this mailing list.

Sudhakar Chandra wrote:

> I have a window that opens a dialog.  Both contain JS code.  From the 
> JS code in the dialog, how do I call a function in the window (i.e. 
> opener)?
> Would window.opener.foo() work?
> Thanks.
> Thaths

More information about the Project_owners mailing list