Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

window.opener property from child window to parent window

843836Nov 18 2003 — edited Nov 19 2003
Hi
When communicating between the child (popup) window to the parent window works fine as long as we pass the static reference to the window.opener

Example :

Main Page
form name = staticform
input name = col1

Popup Page
javascript :
window.opener.staticform.col1.value = some value

How can I use a dynamic reference for the staticform.col1 in the window.opener property to post the value back to the parent window ?

thanks for the help

sarma
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 17 2003
Added on Nov 18 2003
8 comments
574 views