title: Cross-domain jQuery Ajax not working in IE9
body: <p>I'm trying to access a REST web service using jQuery. The service has correctly got Access-Control-Allow-Origin set to * according to Firebug, and there are no problems accessing it with Chrome/Firefox. However, in IE it doesn't work.</p>
  
  <p>I've looked through plenty of the variations of this question that have already been posted, but so far none of the solutions have worked for me.</p>
  
  <p>Here is my code (simplified the success/failure function contents for ease of reading):</p>
  
  <pre><code>$.support.cors = true;
  $.ajax({
     url: 'https://api.guildwars2.com/v1/maps.json?callback=?',
     cache: false,
     type: 'POST',
     dataType: "jsonp",
     success: function() { alert("Success!"); },
     error: function() { alert('Failed!'); }
  });
  </code></pre>
  
  <p>It also doesn't work with <code>GET</code> as the type, nor with or without the callback.</p>
  
  <p>I have also tried making it work without jQuery and haven't been successful:</p>
  
  <pre><code>var xdr = new XDomainRequest();
  var url = "https://api.guildwars2.com/v1/maps.json?callback=?";
  if(window.XDomainRequest)
  {
      if(xdr)
      {
          xdr.onsuccess = function(){alert('Success!');};
          xdr.open("get",url);
          xdr.send();
      }
      else
      {
          alert('Failed!');
      }
  }
  </code></pre>
  
  <p>Any advice anybody could give me would be much appreciated, as I'm considering simply mirroring the web service using <code>file_get_contents()</code> in PHP on my own server, although that would be a last resort as it would gobble up a lot more bandwidth.</p>