title: AJAX form submit doesn't work in IE11 and Edge
body: <p>Can't solve a problem with form submittion. I use this code for my form:</p>
  
  <pre><code>        &lt;div class="modal fade" id="modal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"&gt;
        &lt;div class="modal-dialog" role="document"&gt;
          &lt;div class="modal-content"&gt;
            &lt;div class="modal-header"&gt;
              &lt;button type="button" class="close" data-dismiss="modal" aria-label="Close"&gt;&lt;span aria-hidden="true"&gt;&amp;times;&lt;/span&gt;&lt;/button&gt;
              &lt;h4 class="modal-title" id="myModalLabel"&gt;Callback request&lt;/h4&gt;
            &lt;/div&gt;
            &lt;div class="modal-body"&gt;
              &lt;p&gt;Please send us your contact information and we will call you back soon&lt;/p&gt;
              &lt;form class="callback" method="post" id="form1"&gt;
                &lt;div class="input-group"&gt;
                  &lt;span class="input-group-addon"&gt;&lt;span class="glyphicon glyphicon-user"&gt;&lt;/span&gt;&lt;/span&gt;
                  &lt;input type="text" required class="form-control" id="firstName" name="fio" placeholder="Your name"&gt;
                &lt;/div&gt;
                &lt;br&gt;
                &lt;div class="input-group"&gt;
                  &lt;span class="input-group-addon"&gt;&lt;span class="glyphicon glyphicon-earphone"&gt;&lt;/span&gt;&lt;/span&gt;
                  &lt;input type="tel" required class="form-control" id="phoneNumber" name="phone" placeholder="Phone number"&gt;
                &lt;/div&gt;
                &lt;br&gt;
                &lt;div class="input-group"&gt;
                  &lt;span class="input-group-addon"&gt;&lt;span class="glyphicon glyphicon-envelope"&gt;&lt;/span&gt;&lt;/span&gt;
                  &lt;input type="email" class="form-control" id="inputEmail" name="email" placeholder="Email"&gt;
                &lt;/div&gt;
                &lt;br&gt;
                &lt;textarea class="form-control hidden-sm hidden-xs" rows="3" id="textField" name="comment" placeholder="Additional information" style="width:100%"&gt;&lt;/textarea&gt;
                &lt;input type="hidden" class="form-control" name="subject" value="Callback request"&gt;
              &lt;/form&gt;
              &lt;p class="text-center"&gt;We don't share any of your personal data with anyone&lt;/p&gt;
            &lt;/div&gt;
            &lt;div class="modal-footer"&gt;
              &lt;button type="button" class="btn btn-default" data-dismiss="modal"&gt;Close&lt;/button&gt;
              &lt;button type="submit" class="btn btn-primary submit" form="form1" onclick="yaCounter12657748.reachGoal('order'); return true;"&gt;Submit&lt;/button&gt;
            &lt;/div&gt;
          &lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;
  </code></pre>
  
  <p>And this script</p>
  
  <pre><code>    &lt;script type="text/javascript"&gt; 
      $(document).ready(function()
      {
          var msg = $("#form1").serialize();
          var options = {
              type: "POST",
              url: "callback_form.php",
              data: msg,
              success: function(data) {
                  $("#modal p").fadeOut("fast");
                  $("#form1").fadeOut("fast", function(){
                      $(this).before("&lt;h4 class='text-center'&gt;Thank you for your message&lt;/h4&gt;");
                      setTimeout("$('#modal').modal('hide')", 3000);
                  });
              },
              error: function(xhr, str){
                  alert("Error occured!");
              }
          };
          $('#form1').submit(function(e) {
              e.preventDefault();
              $('#form1').ajaxSubmit(options);
          });
      });
  &lt;/script&gt;
  </code></pre>
  
  <p>The form works fine in Mozilla, Opera, Chrome, Safari and maybe some other browsers but in IE11 and Edge (and I'm sure this is not the whole list) it doesn't do anything when I click submit button. It's doesnt fade, doesn't show any errors in a console. I also use a jQuery Form Plugin to solve the problem with Safari but unfortunately it can't handle IE and Edge for some reason. Maybe I have some syntax errors here?</p>