This question already has an answer here:
- How to make cross-domain AJAX calls to Google Maps API? 1 answer
Using jQuery:
$.getJSON('http://gdata.youtube.com/feeds/api/videos/b2-5GSjZvW8?v=2&alt=jsonc', function(meta){alert(meta.data.title);});
Firefox and Chrome both work as expected, but IE keeps triggering the error function (when using $.ajax
) instead of success. The error status is "0" which doesn't help much.
I've also tried using $.ajax
with cache:false
to no avail.
Any ideas?