probey20
10-27-2006, 08:19 PM
I've seen lots of related posts about this but they so far haven't solved my problem...
I have a parent page with one long form on it. Inside the parent form is an iframe with a form of its own. The iframe form is housed under another application and has to do its own processing (which I'm not concerned about) and then it needs to submit the parent form. My question is, how do I get the iframe form to submit the parent form?? I've tried a couple different options which don't work:
parent.frameName.document.parentForm.submit();
document.getElementById("iframe").contentWindow.document.parentForm.submit();
Any other ideas?
Thanks!
I have a parent page with one long form on it. Inside the parent form is an iframe with a form of its own. The iframe form is housed under another application and has to do its own processing (which I'm not concerned about) and then it needs to submit the parent form. My question is, how do I get the iframe form to submit the parent form?? I've tried a couple different options which don't work:
parent.frameName.document.parentForm.submit();
document.getElementById("iframe").contentWindow.document.parentForm.submit();
Any other ideas?
Thanks!