title: jQuery's $(form).submit() not firing for IE only (MVC3 app)
body: <p>I've been scouring the internet (including SO), and I can't find anything to help me out with my situation, so hopefully I can get some help from you guys.</p>
  
  <p>Basically, like the title says, the .submit() is NOT firing in IE. All other browsers work fine, but in IE (8, 9, 10 so far) it just doesn't fire the submit.</p>
  
  <p>Here's the view code:</p>
  
  <pre><code>        &lt;form id="@formId" method="post" enctype="multipart/form-data" action="@Url.Content("/ActivityEvent/SubmitCheckpointApproval")"&gt;
              &lt;table id="checkpoint-approval" style="width:100%" align="center" class="noBorders"&gt;
                  &lt;tr&gt;
                      &lt;td style="width: 520px;"&gt;
                          &lt;div&gt;
                              Please enter any relevant comments:
                          &lt;/div&gt;
                          &lt;div style="margin: 10px 0;"&gt;
                              &lt;textarea class="wysiwygSimple" rows="4" cols="60" name="comment" id="checkpoint-comment-@(actTplId)"&gt;&lt;/textarea&gt;
                          &lt;/div&gt;
                      &lt;/td&gt;
                      &lt;td style="border: 0; padding-top: 30px; text-align: center; width:70px;"&gt;
                          &lt;img alt="key" src="/Content/Images/checkmarkInCircle.png" align="middle" style="width: 100px;
                              height: 100px;" /&gt;&lt;br /&gt;
                          &lt;p style="text-align: left; margin-top: 10px;"&gt;
                              The notes and resources entered here are shared with the student.&lt;/p&gt;
                      &lt;/td&gt;
                  &lt;/tr&gt;
                  &lt;tr&gt;
                      &lt;td colspan="2" class="ResourcesUploadList"&gt;
                          Suggest some resources:&lt;br /&gt;
                          &lt;div style="float: left;"&gt;
                              &lt;input class="Multi" type="file" name="resourceFiles[]" /&gt;&lt;/div&gt;
                          &lt;div style="float: left; margin-left: 10px; font-style: italic;"&gt;
                              (click browse for each file you want to upload)&lt;/div&gt;
                          &lt;div style="clear: both;"&gt;
                          &lt;/div&gt;
                      &lt;/td&gt;
                  &lt;/tr&gt;
                  &lt;tr&gt;
                      &lt;td style="border: 0; text-align: center; width:600px;" colspan="2"&gt;
                          @if (hasAdminRights)
                          {
                              &lt;input type="button" @Html.Raw(btnStyle) class="activityApprove" name="actionApprove" id="actionApprove" value="Tutor Completion Approval" title = "Approves all activities preceding this checkpoint as complete." onclick="Activity.submitCheckpointApproval('@(formId)', '@(ActivityEvent.EVENT_TYPE_APPROVED)',@(actTplId));" /&gt;
                              &lt;input type="button" @Html.Raw(btnStyle) class="activityAttention" name="actionAttention" id="actionAttention" value="Needs Attention" title = "Notifies the student that this project needs additional work prior to completion." onclick="Activity.submitCheckpointApproval('@(formId)', '@(ActivityEvent.EVENT_TYPE_NEEDS_ATTENTION)',@(actTplId));" /&gt; 
                          }
                          &lt;input type="button" @Html.Raw(btnStyle) value="Cancel" title = "Close this." onclick="javascript:$('#checkpoint-approval@(actTplId)').toggle();" /&gt;
                      &lt;/td&gt;
                   &lt;/tr&gt;
              &lt;/table&gt;
          &lt;/form&gt;
  </code></pre>
  
  <p>When the buttons are clicked:</p>
  
  <pre><code>Activity = {
  
  submitCheckpointApproval: function (formId, activityEventStatusId, activityTemplateId) {
      var resultsDivId = $("#checkpointResults" + activityTemplateId);
      Activity.showCheckpointLoading(resultsDivId); //Just shows a spinner for loading
      $("#checkpoint-activityEventStatusId-" + activityTemplateId).val(activityEventStatusId);
      $("#" + formId).submit(); //PROBLEM IS HERE??
  },
  ...
  };
  </code></pre>
  
  <p>And finally, the controller:</p>
  
  <pre><code>    [HttpPost]
      [ValidateInput(false)]
      public ActionResult SubmitCheckpointApproval()
           //Save everything in here
      }
  </code></pre>
  
  <p>When debugging in IE, I get to the .submit() line in the js, and run it from there. Everything before that works just fine, but then the .submit() comes and it stops doing anything. No javascript errors, nothing in the console, no indication of any issues at all. 
  In all other browsers, the .submit() fires just fine, and the controller breaks into the method being called.</p>
  
  <p>Any thoughts as to why this is happening in IE? I'm sure someone has come across this before!! Please help, I've been banging my head off my desk all afternoon!</p>
  
  <p>Thanks guys!</p>