title: Return a PartialView from $.Ajax Post
body: <p>I have the following code;</p>
  
  <pre><code>        $.ajax({
              url: "/Home/jQueryAddComment",
              type: "POST",
              dataType: "json",
              data: json,
              contentType: 'application/json; charset=utf-8',
              success: function(data){ 
                  //var message = data.Message; 
                  alert(data);
                  $('.CommentSection').html(data);
              }
  </code></pre>
  
  <p>And in my controller;</p>
  
  <pre><code>    [ValidateInput(false)]
      public ActionResult jQueryAddComment(Comment comment)
      {
          CommentSection commentSection = new CommentSection();
  
          //ya da - ya da 
          // fill the commentsection object with data
  
          //then
          return PartialView("CommentSection", commentSection);
  
      }
  </code></pre>
  
  <p>However, when I get back to the page the success alert doesn't happen.  Can anyone see the flaw in this logic?</p>