By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,375 Members | 1,715 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,375 IT Pros & Developers. It's quick & easy.

Communication between 2 windows without having a link Parent To Child

P: n/a
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
Jul 23 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
> 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/

Jul 23 '05 #2

P: n/a
Lee
Rasmus Rimestad said:
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/


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.

Jul 23 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.