0
想知道是否有人能帮助我。我正在尝试调用flickr api。 我正在使用下面的代码,除了Internet Explorer以外,其他代码都很适用。有没有人知道我要去哪里错了?它甚至没有进行网络通话。使用jquery ajax调用flickr api - IE Dilemma
get_service_base : function(){
return "http://api.flickr.com/services/rest/?method";
},
get_api_key : function(){
return "api_key=1234567890-myapikey";
},
get_photoset : function (id, callback)
{
var base_url =this.get_service_base()+'=flickr.photosets.getPhotos&'+this.get_api_key()+'&photoset_id='+id+'&format=json&nojsoncallback=1';
jQuery.getJSON(base_url,{}, function(data)
{
callback(data);
});
任何帮助mucu赞赏