title: jQuery to loop through elements with the same class
body: <p>I have a load of divs with the class <code>testimonial</code> and I want to use jquery to loop through them to check for each div if a specific condition is true. If it is true, it should perform an action.</p>
  
  <p>Does anyone know how I would do this?</p>