小编use*_*200的帖子

Jquery $ .get或$ .ajax在Internet Explorer中不起作用

我一直在IE 9中运行此代码而没有运气.我查看了有关UTF-8修复的所有帖子,但无济于事.有什么想法吗?

$.get({
    url: 'http://api.flickr.com/services/rest/?api_key={apikey}&method=flickr.collections.getTree&user_id=66970820%40N03&collection_id=66947766-72157631850748939',
    success: function () {
        console.log('success!');
    }
}).done(function () {
    console.log('done');
}).fail(function () {
    console.log('fail')
});
Run Code Online (Sandbox Code Playgroud)

它在Safari,FF和Chrome中运行得很好.将URL粘贴到IE中时,响应很好.

ajax jquery internet-explorer

8
推荐指数
1
解决办法
1万
查看次数

标签 统计

ajax ×1

internet-explorer ×1

jquery ×1