PDA

View Full Version : window trouble


Badman3k
09-03-2002, 05:33 PM
I have a page which loads a new window ontop of the original. I want to be able to use the second window to call a script in the first, select the second window and close the second window, in that order.

I'm having real big trouble with the focus bit, as i don't know what the original window is called.

I would be very grateful if someone could give me a hand.

Many thanks in advance,

Badman3k

requestcode
09-03-2002, 05:50 PM
To access the original window you would use the term "opener". So if you want to call a function in the original window from your second window you would do this:
opener.function_name()

saldikey
09-03-2002, 06:05 PM
why u don't wanna use external script?