cool thanks everyone. i went with:

                        
$('imageContainer').getElements('img').each(function(img, index) {

                                        img.addClass('image'+ index);

                        });

Since i have to do some other stuff inside the function.

One last question, how do i add an "ID" to an element, i don't see any
addID function?

Reply via email to