title: Getting JSONP via jQuery
body: <p><strong>UPDATE 1:</strong></p>
  
  <p>This is what I get in the browser if I type</p>
  
  <p><a href="http://www.remote_host.com/feed.php?callback=jsonpCallBack" rel="noreferrer">http://www.remote_host.com/feed.php?callback=jsonpCallBack</a></p>
  
  <pre><code>{
      "rss": {
          "channels": [
              {
                  "title": "title goes here",
                  "link": "http://www.remote_server.com/feed.php",
                  "description": "description goes here",
                  "items": [
                      {
                          "title": "item title goes here",
                          "link": "item link goes here",
                          "pubDate": "item date goes here",
                          "description": "item description goes here"
                      },
                      {
                          "title": "item title goes here",
                          "link": "item link goes here",
                          "pubDate": "item date goes here",
                          "description": "item description goes here"
                      },
                      {
                          "title": "item title goes here",
                          "link": "item link goes here",
                          "pubDate": "item date goes here",
                          "description": "item description goes here"
                      }
                  ]
              }
          ]
      }
  }
  </code></pre>
  
  <p>So this is not jsonp?</p>
  
  <p><strong>ORIGINAL QUESTION:</strong></p>
  
  <p>I have the following script where I am trying to get json data from a remote host:</p>
  
  <pre><code>$(document).ready(function() {
      get_json_feed();
  
      function get_json_feed() {
          $.ajax({
              url: 'http://www.remote_host.com/feed.php?type=json',
              type: 'GET',
              dataType: 'jsonp',
              error: function(xhr, status, error) {
                  alert("error");
              },
              success: function(json) {
                  alert("success");
              }
          });
      }
  });
  </code></pre>
  
  <p>But for some reason I am getting an error and warning:</p>
  
  <blockquote>
    <p>Warning: Resource interpreted as
    Script but transferred with MIME type
    text/html.</p>
    
    <p>Error: Uncaught SyntaxError:
    Unexpected token :</p>
  </blockquote>
  
  <p>What am I doing wrong?</p>