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