[Project_owners] Calling opener's function

Scott McWhirter scott at xede.org
Wed Aug 18 15:38:45 EDT 2004


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?
Should do... suck it and see.

If not, have a read of Javascript Scope tricks at:

http://www.webtk.org.uk/wiki/index.cgi?ScopeTricks


-- 
-Scott McWhirter- | -kungfuftr-


More information about the Project_owners mailing list