Archive for June 20th, 2009
JavaScript: How to get the index (position within a group) of an object with jQuery?
Posted on 20. Jun, 2009 by Dragos.
1
I’ve spent some time today figuring out how to obtain that index and finally I’ve just puzzled it out. Let’s say we have a group of objects all containing the class=”house”. Now if we are referencing to the first element within the group and we’d like to find out it’s index (well it’s obvious in [...]


