jquery Object Iteration with Alert
Can someone explain ho开发者_如何学JAVAw 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);
});
With which object do need to iterate ?
jQuery method for iterate is $(obeject).each( function() {} )
精彩评论