title: Problems when calling $.Ajax in Firefox and Chrome in a cross domain call
body: <p>I have some asmx web services in an url (ie. example.com/Entities/WebServices supposing example.com is my domain). The aim of this is being able to access domain data like employees from all the applications. So per example to get employees data, I use the method <code>example.com/Entities/WebServices/EmployeeWs.asmx/GetAll</code></p>
  
  <p>When I try to get employees data from my localhost with JQuery.Ajax, it works fine on IE8. But when using Firefox, the $.ajax call sends me to the success function but with an empty message (also checked the response from firebug and it is a 200 OK - 0byte)</p>
  
  <p>I have put the jQuery.support.cors = true; but it does not help in Firefox or chrome.</p>
  
  <p>I have also tried to publish the test app in <code>example.com/TestProject</code> but the result is the same. It only works in IE.</p>
  
  <p>does anybody know what could be the cause of the error?</p>
  
  <p>Using IE8, Firefox 8.0.1, Chrome 11.0.6.  JQuery 1.7.1</p>
  
  <p>Thanks in advance.</p>
  
  <pre><code>var requestedUrl = "http://example.com/Entities/WebServices/EmployeeWs.asmx/GetAll";
  
  jQuery.support.cors = true;
  
  $.ajax({
      type: "POST",
      contentType: "application/json",
      url: requestedUrl,
      dataType: 'json',
      contentType: "application/json; charset=utf-8",
  
      success:
  
      function(result) {
  
          alert("ok. " + result);
  
      },
  
      error:
  
      function(xhr) {
  
          alert("err. " + xhr.responseText);
  
      }
  
  });
  </code></pre>