jquery index() how to call something by its index
<p>I have two divs both containing images. Here is some example code:</p>

<pre><code>&lt;div id="one"&gt;
    &lt;img src="image.jpg"/&gt;
    &lt;img src="image2.jpg"/&gt;
    &lt;img src="image3.jpg"/&gt;
&lt;/div&gt;
&lt;div id="two"&gt;
    &lt;img src="otherimage.jpg"/&gt;
    &lt;img src="otherimage2.jpg"/&gt;
    &lt;img src="otherimage3.jpg"/&gt;
&lt;/div&gt;
</code></pre>

<p>I have a hover event on the second set of images so that i get the index of the image that was hovered and store it in a variable called index. So say I hover over the second image in div two my index variable will equal 1. How can i then use this index to do something to the image that is at the same index in div one?</p>

<p>Thanks</p>
