Can I retrieve the object of the window opened by window.open

S

sowen

I know I can get the window object by using

obj = window.open( .... );

but what I need is, after the new window is popped up, the opener will
be redirected to another page, I want the another page able to control
the popup window

is it possible? is there something like getWindowById

Thanks a lot!
 
S

sowen

sowen said the following on 8/8/2007 11:35 AM:





Have the "another page" open the popup window instead.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ -http://jibbering.com/faq/index.html
Javascript Best Practices -http://www.JavascriptToolbox.com/bestpractices/



no, that's not the process.

forget it, I think that's really impossible.
 
T

Thomas 'PointedEars' Lahn

sowen said:
I know I can get the window object by using

obj = window.open( .... );

but what I need is, after the new window is popped up, the opener will
be redirected to another page, I want the another page able to control
the popup window

is it possible? is there something like getWindowById

The only reliable possibility I know of (besides a data-storing frameset) is
that you open the popup with a name and then open it with the same name in
"another page". That would include reloading the popup document which can
maybe be prevented. As always, the environment this should run in is relevant.


PointedEars
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top