Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

window.showModalDialog AND window.opener 2

Status
Not open for further replies.

Deadline

Programmer
Feb 28, 2001
367
0
0
US
Hi..
I am using window.showModalDialog to open a childwindow which has sub-options for a question in the main survey form.

Why am I not able to access the controls in the parent window using a statement like window.opener.document.all("text1").value ???

Does that mean window.opener works only for windows opened with window.open and NOT for those opened with window.showModalDialog ??

Thank you very much.

RR


 
Hi,

DialogBOxes are only to pass a value, try to send you forum data in one string... and after split it in the opener window...it works

good luck

Drtheater

 
ModalDialog's have a return value. you script what the return value is in the dialog box and it returns it to a variable in the opener luciddream@subdimension.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top