$(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 and the URL is red, so it’s presumebly not fetching the data at all.
144ms
I can’t think what the problem is.
Presumably the url is in a different domain. You’ll need to use JSONP and add
&jsoncallback=?to your query. I assume that the audioscrobbler API supports this.