title: Returning Json from controller, never a success
body: <p>I'm successfully posting to my controller with the following code, however, success is never being hit only error. What am I doing wrong?</p>
  
  <p>JS:</p>
  
  <pre><code>$.ajax({
          url: '/Home/Subscribe',
          type: 'POST',
          dataType: 'json',
          data: { email: $('#sube').val() },
          success: function (data) {
              // get the result and do some magic with it
              alert(data.foo);
  
          },
          error: function (XMLHttpRequest, textStatus, errorThrown) {
              alert(textStatus);
          }
      });
  </code></pre>
  
  <p>Controller:</p>
  
  <pre><code>[HttpPost]
      public JsonResult Subscribe(string email)
      {
          return Json(new { foo = "bar", baz = "Blech" });
      }
  </code></pre>