Why does the following fail:
var url = "http://www.nfl.com/liveupdate/game-center/2012080953/2012080953_gtd.json";
$.getJSON(url, function(json){
$("#jsondata").text(json);
}).fail(function(error){
$("#jsondata").text("fail: " + JSON.stringify(error, null, 4));
});
Here is the output:
fail: { "readyState": 0, "status": 0, "statusText": "error" }
I json linted the url and it's valid. I just don't get it. I've used $.getJSON
plenty without issues. I just can't seem to find the working solution to this. Is it the .json extension?