[Javascript] running function in parent window

Alan Easton alan.easton at unn.ac.uk
Thu Jul 4 06:17:04 CDT 2002


Thanks Dan and Rodney, I have got it working.

Alan...

-----Original Message-----
From: Dan Costea [mailto:costea.dan at ssi-schaefer.ro]
Sent: 04 July 2002 21:59
To: javascript
Subject: Re: [Javascript] running function in parent window


<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...
>

_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
https://lists.LaTech.edu/mailman/listinfo/javascript



More information about the Javascript mailing list