title: Changing getJSON to JSONP
body: <p>I have this code:</p>
  
  <pre><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"&gt;&lt;/script&gt;
  &lt;script&gt;
      $(document).ready(function() {
          $.getJSON('http://example.com/api/get_cats', function(fbResults) {
              document.write(fbResults.cats[0].title);
          });
      });
  &lt;/script&gt;
  </code></pre>
  
  <p>How can I change this code:</p>
  
  <pre><code>&lt;script&gt;
      $(document).ready(function() {
          $.getJSON('http://example.com/api/get_cats', function(fbResults) {
              document.write(fbResults.cats[0].title);
          });
      });
  &lt;/script&gt;
  </code></pre>
  
  <p>for it to work as JSONP ... Is this totally different?</p>