title: How to get JSONP to work with jQuery?
body: <p>I am trying to get some JSONP from the Flickr API to work with:</p>
  
  <p><a href="http://jsfiddle.net/SRc98/" rel="nofollow">http://jsfiddle.net/SRc98/</a></p>
  
  <pre><code>$.getScript('http://api.flickr.com/services/feeds/photos_public.gne?format=json&amp;tags=cats', function(data, textStatus, jqxhr) {
      alert(data);
  });
  </code></pre>
  
  <p>The alert gives <code>undefined</code> and the console says:</p>
  
  <pre><code>Uncaught ReferenceError: jsonFlickrFeed is not defined
  </code></pre>
  
  <p>Is there something wrong with the Flickr API response or is there a way to get this to work after all?</p>
  
  <p><a href="http://api.flickr.com/services/feeds/photos_public.gne?format=json&amp;tags=cats" rel="nofollow">http://api.flickr.com/services/feeds/photos_public.gne?format=json&amp;tags=cats</a></p>