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讚賞