title: Ajax form won't post in Internet Explorer
body: <p>The following code works great in FF and Chrome: The form is posted via Ajax and the modal window appears. In IE9, the modal window appears but the form is not posted.</p>
  
  <p>Javascript:</p>
  
  <pre><code>$(document).ready(function() {
  $(document).ajaxStart(function(){
      $('#thanks').modal();
  });
  
  $('.ajaxform').submit(function () {
      $.ajax({
          url: $(this).attr('action'),
          type: $(this).attr('method'),
          dataType: 'html',
          data: $(this).serialize(),
          success: function (data) {},
          error: function () { }
      });
      return false;
  });
  </code></pre>
  
  <p>});</p>
  
  <p>HTML:</p>
  
  <pre><code>&lt;form method="post" action="https://www.example.com/post.php" class="ajaxform"&gt;
  &lt;label&gt;First name*&lt;/label&gt;
                      &lt;input type="text" name="fname" required&gt;
  
                      &lt;label&gt;Last name*&lt;/label&gt;
                      &lt;input type="text" name="lname" required&gt;
  
                      &lt;label&gt;Email address*&lt;/label&gt;
                      &lt;input type="email" name="email" required&gt;
  
                      &lt;label&gt;Phone number*&lt;/label&gt;
                      &lt;input type="tel" name="phone" required&gt;
  &lt;input class="btn btn-primary" type="submit" value="Submit Request" role="button" href="#thanks"&gt;
  </code></pre>