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