Hi all,
I open a popup window (called jsWindow) using js from a window called oldPage.
I then navigate from oldPage to newPage. I now want to control jsWindow and call a function in there.

I can do this via a link in newPage:
<a href="javascript:jsFunction()" target="jsWindow">click here</a>

However, I need to call jsFunction() from an onLoad command. How do I target jsWindow?


The reason for this is that oldPage submits a form and generates jsWindow with a "please wait" signal. The jsWindow should remain until newPage has finished downloading. newPage must then tell jsWindow to close.

phew, does that make sense?