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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Submitting parent form from Modal Popup form

Status
Not open for further replies.

markprog

Programmer
Oct 4, 2004
12
US
I have a window A that calls Modal window B which contains an I-Frame that contains window C.

When window C is submitted I want window A to submit itself.
How can I accomplish this from window C?

Thank you
 
In window A, pass the window object into showModalDialog("windowB.html",window,"dialogWidth:300px;dialogHeight:300px")

Then use this in window C:
Code:
top.dialogArguments.document.formName.submit();

Adam
"Computers make it easier to do a lot of things, but most of the things they make it easier to do don't need to be done." Andy Rooney.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top