// Create some data
var foo = { 'vals':[ {'id':'foo'}, {'id':'bar'} ] };

// Common Method    
$.each(foo.vals, function(i,o){
    alert(this.id);
});

// Alternative (lesser-known?) Method
$(foo.vals).each(function(i,o){
   alert(this.id); 
});