Hi,
I'm using JQuery v1.10.4, and have a modal "dialog" that contains an iframe that is being loaded with an ASP page containing a form and some fields. What I'm trying to do is submit the iframe form from a dialog "button". I'm using:
buttons: {
"Save": function() {
$("#iframe").contents().find("#iframeForm").submit()
}
}
While it is submitting the iframe form, the problem is that it also seems to be submitting the form on the main page containing the dialog code, since the green "bars" s-l-o-w-l-y increase in the status bar. I really don't know what it's doing, but it almost seems like it's trying to submit all "form" tags it finds, although it doesn't actually seem to be submitting the main form since it doesn't go to that form's submission page. I thought by specifying the name of the iframe form, that it would tell it to only submit that form, not the main form.
Has anyone seen this before? Any ideas what might be happening?
Thanks!
Larry
EDIT: Maybe this is only an IE v8 issue with the status bar. Tested on IE v9, as well as latest Chrome and FireFox, and it doesn't appear like it's running anything. Would still be interested in knowing why IE 8 is putting up the green progress bar on the main window even after the iframe code has completed running.