[Project_owners] Calling opener's function

Sudhakar Chandra thaths at openscroll.org
Wed Aug 18 19:58:42 EDT 2004

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?


"It does not matter whether the war is actually happening, and, since
no decisive victory is possible, it does not matter whether the war is
going well or badly. All that is needed is that a state of war should
                 exist." -- George Orwell, 1984
Slacker Without Borders                        http://openscroll.org/
Key fingerprint = 8A 84 2E 67 10 9A 64 03  24 38 B6 AB 1B 6E 8C E4

More information about the Project_owners mailing list