title: Cross-domain POST request ajax in internet explorer
body: <p>I'm using jQuery 1.7.2 and would like to make a POST request to another domain. It must be a POST request. But this does <strong>not work in internet explorer</strong> (I tried on IE9); it works on all other browsers.</p>
  
  <p>I have this script:</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;script&gt;
  jQuery.support.cors = true;
  
  jQuery(function() {
      $.ajax({
          crossDomain : true,
          cache: false,
          type: 'POST',
          url: 'http://someotherdomain/test.php',
          data: {},
          success: function(da) {
              console.log(JSON.stringify(da))
          },
          error: function(jqxhr) {
              console.log('fail') 
              console.log(JSON.stringify(jqxhr))
          },
          dataType: 'json'
      });
  });
  &lt;/script&gt;
  </code></pre>
  
  <p>I get back the error:</p>
  
  <pre class="lang-js prettyprint-override"><code>{"readyState":0,"status":0,"statusText":"Error: Access denied.\r\n"}
  </code></pre>
  
  <p>My PHP file looks like this:</p>
  
  <pre class="lang-php prettyprint-override"><code>&lt;?php
  header('Access-Control-Allow-Origin: *');
  header('Access-Control-Allow-Methods: GET, POST, DELETE, PUT, OPTIONS');
  echo json_decode(array('success' =&gt; 'yes'));
  </code></pre>