title: JSONP Cross-domain Request
body: <p>I need your help once again i was trying to make an Cross-domain request with ajax code:</p>
  
  <pre><code>function foo() {
      $.ajaxSetup({
              headers: { 'Access-Control-Allow-Origin': '*'}
      });
      $.ajax({
         url:"http://www.website.com/page.php",
         type: "GET",
         crossDomain: true, // enable this
         dataType: 'jsonp',
         success:function(result){
  
         }
      });
  }
  </code></pre>
  
  <p>And this is simple html button </p>
  
  <pre><code>&lt;input type="button" value="test" onclick="foo()"&gt;
  </code></pre>
  
  <p>When i run the function the result is that:</p>
  
  <p><img src="https://i.stack.imgur.com/40iUN.png" alt="image1">
  <img src="https://i.stack.imgur.com/NT1XF.png" alt="image2"></p>
  
  <p>Sorry for my bed english and thanks in advice fou our help.</p>