One of my favorite examples of this is the Flickr example on Visual jQuery (http://remysharp.com/visual-jquery/).
$.getJSON("http://api.flickr.com/services/feeds/photos_public.gne?tags=cat&tagmode=any&format=json&jsoncallback=?", function(data){ $.each(data.items, function(i,item){ $("<img/>").attr("src", item.media.m).appendTo("#images"); if ( i == 3 ) return false; }); }); }); Here you can see that each presents you with a new object (called item) and it's index (i) each time through the loop below for all the returned matches for data.items. In your example (without seeing your json) item.id should work fine without an index. Kindest, Wil Everts w...@zivity.com