title: JQuery Ajax Post - Action returns Partial View but does not hit success or displays
body: <p>I am making a call to a controller action as follows:</p>
  
  <pre><code>$j.ajax({
      url: url,
      type: "post",
      data: JSON.stringify(commentParam),
      dataType: 'json',
      contentType: "application/json; charset=utf-8",
      success: function (data, status, jqxhr) {
          $j('#' + commentsCtrlId + ' ul').prepend(data);
          commentField.val('');
      },
      failure: function () {
          alert("Error adding comment");
      }
  });
  </code></pre>
  
  <p>Where the Action looks like:</p>
  
  <pre><code>    [HttpPost]
      public ActionResult Create(string commentBody, int parentObjectId, string parentObjectType, int actionId = 0)
      {
          try
          {
  
          // code to check security and pass info to the database. A comment model object is then passed back to the partial view
  
              return PartialView("_Comment", comment);
          }
          catch (Exception ex)
          {
              Logger.Instance.LogError("Error in CommentController Create", ex);
              return View("Error");
          }
      }
  </code></pre>
  
  <p>I can break on this method and the data is passed to the database okay.</p>
  
  <p>I can break point on the Partial View so can see the data is being passed there okay, however when I get back to my ajax call, it never gets a response (neither Success or Failure)! I am not getting any errors any where and absolutely nothing to go on. Does anyone have advice on how I can at least try and debug what is going on here please?</p>