title: Jquery jsonp response error - Callback was not called
body: <p>I'm trying to get some information from a different domain, the domain allows only jsonp call - others get rejected. How can I get the content instead of execution? Because I get an error in response. I don't need to execute it, I just need it in my script. In any format (the response is json but js doesn't understand it).
  I can't affect on that domain so it's impossible to change something on that side.
  Here's my code:</p>
  
  <pre><code>$.ajax({
      url: url + '?callback=?',
      crossDomain: true,
      type: "POST",
      data: {key: key},
      contentType: "application/json; charset=utf-8;",
      async: false,
      dataType: 'jsonp',
      jsonp: 'callback',
      jsonpCallback: 'jsonpCallback',
      error: function(xhr, status, error) {
          console.log(status + '; ' + error);
      }
  });
  
  window.jsonpCallback = function(response) {
      console.log('callback success');
  };
  </code></pre>