I have a form on "page2," "page2" resides in an iframe on "page1." Why won't the following code on "page1" work:
top.myIframe.myForm.submit();
I can set the values of the form elements on "page2" this way (i.e. top.myIframe.myForm.myTextField.value = "something"), but I can't programmatically submit the form. I get an "object doesn't support this method or property" error.
Any suggestions?
top.myIframe.myForm.submit();
I can set the values of the form elements on "page2" this way (i.e. top.myIframe.myForm.myTextField.value = "something"), but I can't programmatically submit the form. I get an "object doesn't support this method or property" error.
Any suggestions?
Comment