how to loop through a list of multiple dom elements jquery code example Example: for each loop class jquery $('.testimonial').each(function(i, obj) { //test });