Communication between 2 windows without having a link Parent To Child

O

orion30

All is in the Object.

Is-it possible to modify a window from an another window without having a
link Parent To Child ?

Thank you
 
R

Rasmus Rimestad

Is-it possible to modify a window from an another window without having a
link Parent To Child ?

I guess you can use the name of the window...

On window to be manipulated:
self.window.name = 'coolWindow';

On window to manipulate:
coolWindow.document.whatever.whatever();

Not tested though

Rasmus Rimestad
Web databases at a price you can live with -> http://www.rimestad.no/en/
 
L

Lee

Rasmus Rimestad said:
I guess you can use the name of the window...

On window to be manipulated:
self.window.name = 'coolWindow';

On window to manipulate:
coolWindow.document.whatever.whatever();

Not tested though

Rasmus Rimestad
Web databases at a price you can live with -> http://www.rimestad.no/en/

If you're going to make guesses, you should really test them
before posting. Otherwise people might get the impression
that you're more concerned with getting a link to your service
in front of potential customers than with providing good advice,
and that can be self-defeating.

You cannot arbitrarily use the value of a window's name attribute
as a reference to that window.
 

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,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top