title: Cross domain Ajax Call Not working in Safari 4 and Safari 5
body: <p>I have the following jquery ajax code that is working in <strong>ALL</strong> other browsers except Safari 4 and Safari 5 in Mac. It works correctly in Safari 6.</p>
  
  <pre><code>$.ajax({
          type : "POST",
          url : crossDomainURL,
          contentType : "text/plain",
          data : requestData,
          dataType : "text",
          success : function(e) {
              console.log("success");
  
          },
          error : function(e) {
              console.dir(e);
              console.log("FAILLLLLLLLL");
          },
      });
  </code></pre>
  
  <p>It prints the "FAILLLLLLL" statement on the console everytime with a statusText of error and status of 0. The server at <strong>crossDomainURL</strong> is correctly configured to handle this type of request  (and thus it works correctly in all other browsers).</p>
  
  <p>But in case of Safari (4 and 5) on a Mac, the ajax call does not even leave the browser. It seems related to CORS issue, but I am confused as to why this same code works in Firefox and Chrome and Safari 6 correctly but not in Safari 4 &amp; 5.</p>
  
  <p>I appreciate any ideas.</p>
  
  <p>Thanks.</p>
  
  <p>EDIT: Older versions of Safari can be found here: <a href="http://michelf.ca/projects/multi-safari/" rel="nofollow">http://michelf.ca/projects/multi-safari/</a></p>