title: jQuery POST Request - returning JSON
body: <p>I want to use the jQuery <code>$.ajax</code> to make a POST call sending some information (via POST like: <code>page.aspx?var1=value</code>....).</p>
  
  <p>But I also want jQuery to handle that the service is returning JSON so that I get back a JSON object.</p>
  
  <pre><code>var data = {name: _name, ...};
  
  var request = $.ajax({
      url: url,
      type: "post",
      data: data,
      //dataType: "json"
  });
  </code></pre>
  
  <p>As soon as I use <code>dataType: "json"</code>, which allows me to receive the JSON object I get an parseerror on the request!</p>
  
  <p>Hope you can help me out with that!</p>
  
  <p>THANKS IN ADVACE!</p>