How to find out the number for the div clicked (5th, 11th, 15th etc) with jQuery?
<p>Lets say I have 10 images in a div. If I click on the 6th one, how can I get the int value of the number 6 (or what ever the order was for the image)?
Is it possible?
I need it to navigate to the next image using <code>.get(currentindex+1)</code></p>

<p>Don't advise me to use gallery plugins or anything please, I need to do this my way ^^</p>

<p>A helpful answer would be <code>var currentindex = &gt;something useful&lt;</code></p>
