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

update to another window

P: n/a
Hi,

I am new to javascript and coldfusion. I have a original window, when
user click on a button, it will open another windowB; how can windowB
update information in the original window? Thanks.

Cathy

Oct 10 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
When you create a new window with JavaScript, scripts in the new window
gain a property called self.opener. This refrences the Window object of
the window that opened it. Thourgh that you can change anything in the
original window . For example if you had a div with an id of myDiv you
can access it from windowb like this:
self.opener.document.getElementById("myDvi")
Cathy wrote:
Hi,

I am new to javascript and coldfusion. I have a original window, when
user click on a button, it will open another windowB; how can windowB
update information in the original window? Thanks.

Cathy
Oct 11 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.