title: AJAX data.Success returning false when there is data in response
body: <p>I am using the <a href="http://malsup.com/jquery/form/" rel="nofollow">JQuery Form Plugin</a> but having an issue with IE 11 where "data.Success" is coming back false eventhough there is JSON in the response as evidenced by tracing the network traffic with IE Developer Tools. </p>
  
  <p>I am seeing a successful initial AJAX POST to  /NewClubOpeningTool/ProcessCompose/ with a hydrated JSON response, yet data.Success is false.</p>
  
  <p><strong>Response:</strong></p>
  
  <pre><code>{"Success":true,"ViewMode":"Prospects","DraftOrSentViewMode":"Draft","NewClubId":21}
  </code></pre>
  
  <p>Works fine in FF and Chrome.</p>
  
  <p>Any ideas, why this is occurring and what I can try?</p>
  
  <p><strong>//The form setup</strong></p>
  
  <pre><code>@using (Ajax.BeginForm("ProcessCompose", "NewClubOpeningTool", FormMethod.Post, new AjaxOptions { UpdateTargetId = "update_panel" }, new { @enctype = "multipart/form-data", id="ComposeForm" }))   
  </code></pre>
  
  <p><strong>//The controller action that handles the form submit</strong></p>
  
  <pre><code>       [HttpPost]
          public ActionResult ProcessCompose(NewClubInviteComposeEmailViewModel compose, IEnumerable&lt;int&gt; Recipients)
          {
              [...]
  
              return Json(new { Success = success }, "text/json", System.Text.Encoding.UTF8, JsonRequestBehavior.AllowGet);
          }
  
  
  
  
   //This code lives in the view that has the AJAX form
   $(document).ready(function () {
  
          /***********************************************************
              Initialize the JQuery Form object
              This is how we are able to upload stuff via an AJAX form
          *************************************************************/
  
          var options = { 
              type:'post',
              data: $('#ComposeForm').serializeArray(),
              datatype: 'json',
              url: '/NewClubOpeningTool/ProcessCompose/',
              success: function (data) {
              if (data.Success) {
                  alert('Success! We have data.Success!');
                  $(".dialog").remove();
                  $("#divInviteContentArea").load("/NewClubOpeningTool/InviteEmail?clubId=" + data.NewClubId + "&amp;viewMode=" + data.ViewMode + "&amp;draftOrSentViewMode=" + data.DraftOrSentViewMode);
              } else {
                  alert('Error! We do not have data.Success!');
              }
          },
          error: function(jqXHR, textStatus) {
              alert('Error: ' + textStatus);
          }                   
      }; 
      $('#ComposeForm').ajaxForm(options);
          /*************************************************************
          Prevent the AJAX form from submitting twice
          **************************************************************/
          $("#ComposeForm").submit(function (e) {
  
               e.preventDefault();
  
               return false;
  
  
          });
      });
  </code></pre>