title: parserrror SyntaxError: Unexpected token < - Load Partial View using jQuery Ajax in ASP.NET MVC 4
body: <p>I'm using the following Ajax call to load a partial view into a div:</p>
  
  <pre><code>  $.ajax({
      url: "/URL",
      type: "POST",
      dataType: "json",
      data: JSON.stringify(request),
      contentType: "application/json; charset=utf-8",
      success: function(data) {
          $('#Result').html(data);
          App.hidePleaseWait();
      },
      error: function (jqXHR, textStatus, errorThrown) {
          App.hidePleaseWait();
          alert(textStatus);
          alert(errorThrown);
      }
  });
  </code></pre>
  
  <p>Here's my controller:</p>
  
  <pre><code>[HttpPost]
          public ActionResult GetSomething(MyModel formModel)
          {
              var model = new ResultModel();
  
              try
              {
                  model.Data = GetSomeData();
              }
              catch (Exception exception)
              {
                  model.ErrorMessage = exception.Message;
              }
  
              return PartialView("_Results", model);
          }
  </code></pre>
  
  <p>I get the following error <code>"parserrror SyntaxError: Unexpected token &lt;"</code></p>
  
  <p>It seems that the .ajax call is expecting json back instead of html. What do I need to do to fix this?</p>
  
  <p>Thanks.</p>