title: jquery iterate over child elements
body: <p>I have a <code>div</code> with the id <code>ring-preview</code>, it has a unspecifed number of <code>img</code> elements with the class <code>stone-preview</code> inside it.</p>
  
  <p>I would like to iterate over each of these child images and call:</p>
  
  <pre><code>$(this).rotate(ring.stones[i].stone_rotation);
  </code></pre>
  
  <p>Where <code>this</code> refers the <code>img</code> element and <code>i</code> refers to its position within the <code>div</code>.</p>
  
  <p>How can I do that?</p>