Reputation: 2243
Can someone explain how to iterate through all my object values with an alert?
// get a single audio url
echonest.artist("Prince").audio(function(audioCollection) {
$('#artistAudioURL').append(audioCollection.data.audio[0].url);
});
Upvotes: 0
Views: 222
Reputation:
With which object do need to iterate ?
jQuery method for iterate is $(obeject).each( function() {} )
Upvotes: 1