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