I've been trying to get the thumbnails links using jQuery but end up unsuccessful no matter I define async call with specific parameter. I knew it return json but but with the configuration below, I kept getting error. If I tried with jsonp for dataType instead of json, the error return is like this, "parsererror Error: jQuery321006600883555805903_1509508132054 was not called"
var url = 'http://www.airport-data.com/api/ac_thumb.json?m=400A0B&n=2";
$.ajax({
type: 'GET',
url: url,
crossDomain: true,
dataType: 'json',
contentType: "application/json",
success: function(json) {
console.log(json);
},
error : function(httpReq,status,exception){
alert(status+" "+exception); }
});
Please advise me of how could i get the proper json return to my script.?