[Javascript] running function in parent window

Dan Costea costea.dan at ssi-schaefer.ro
Thu Jul 4 15:58:40 CDT 2002


<body onbeforeunload="opener.fnName ();">

but this will not work if the smaller window is a modal window.

Dan.

----- Original Message -----
From: "Alan Easton" <alan.easton at unn.ac.uk>
To: "'Java-List'" <javascript at LaTech.edu>
Sent: Thursday, July 04, 2002 3:45 AM
Subject: [Javascript] running function in parent window


> Hi All,
>
> Quick question, I have a window that opens a smaller window to do some
> calculations, when that window is finished, it closes. What I would like
is
> for that smaller window to run a function on the parent window before it
> closes. I just don't know how to reference a function call in the smaller
> window, to run a function that resides on the parent window.
>
> Any ideas would be appreciated,
>
> Many thanks,
>
> Alan Easton...
>




More information about the Javascript mailing list