作者:再让我沦陷一次丶 | 来源:互联网 | 2023-05-18 13:06
$(function(){$.getJSON(http:ws.audioscrobbler.com2.0?methoduser.getweeklyartistchart&
$(function(){
$.getJSON('http://ws.audioscrobbler.com/2.0/?method=user.getweeklyartistchart&user=ElicitBelief&api_key=25135a535781328243f9e31968abc14&format=json', function(data) {
alert(data)
});
});
Firebug says: GET http://ws.audioscrobbler.com/2.0/?method=user.getweeklyartistchart&user=ElicitBelief&api_key=25135a535781328243f9e31968abc14&format=json 200 OK 144ms
and the URL is red, so it's presumebly not fetching the data at all.
Firebug说:GET http://ws.audioscrobbler.com/2.0/?method=user.getweeklyartistchart&user=ElicitBelief&api_key=25135a535781328243f9e31968abc14&format=json 200 OK 144ms,URL为红色,因此根本不提取数据。
I can't think what the problem is.
我想不出是什么问题。
3 个解决方案