Hi,
I have a HTML structure like this:
<div>
<div id="a"></div>
<div id="b"></div>
<div id="c"></div>
</div>
I know the ID of an element (let's say it's #b), and i need to know which index it has in the parent div. In this case that would be 2. How do i get that number using javascript/jQuery?