title: jQuery: get JSON via ajax, but with POST instead of GET
body: <p>I'm using jQuery's $.ajax to make a request to a third-party server, using JSONP.  I specify the method as POST, but it uses GET anyway:</p>
  
  <pre><code>    $.ajax({
          type: "POST",
          dataType: "json",
          url: other_server + "/run?callback=?",
          data: {
              code: $(code).val()
          },
          success: function(obj) {
              var res = obj.results;
              $(results).val(res);
          }
      });
  </code></pre>
  
  <p>Looking in the jQuery source, I see these two lines that seem to force all cross-domain requests to GET, but I don't understand why it needs to be so:</p>
  
  <pre><code>if ( s.crossDomain ) {
      s.type = "GET";
  </code></pre>
  
  <p>Is it possible to do this with a POST instead of a GET?  Why does jQuery force the use of GET?</p>