I'm having trouble debugging the AJAX request. (It's async
because it's a tunnel)
Anyways, it works fine on Chrome and Firefox but fails in IE8/9 at least.
var responseA = '';
$.ajax({
type: 'GET',
url: 'http://pipes.yahooapis.com/pipes/pipe.run?_id=xxxxxx&url=http%3A%2F%2Fwww.rottentomatoes.com%2Fm%2Fthe_hunger_games%2F&_render=json',
async: true,
dataType: 'json',
success: function(text) {
responseA = text;
},
error: function(jqXHR, textStatus, errorThrown) {
console.log(errorThrown);
}
});
console.log(responseA);
errorThrown
throws LOG: No Transport
I tried adding $.support.cors = true;
to try to fix any cross domain issues but now I get
LOG: Error: Access is denied.
(only in IE) what gives?