get same class value in jquery code example Example: how to get all elements with same class in jquery $('.testimonial').each(function(i, obj) { //test });