I have a set of span elements as below
<div>
<span class='foo'>foo0</span>
<span class='foo'>foo1</span>
<span class='foo'>foo2</span>
<span class='foo'>foo3</span>
<span class='foo'>foo4</span>
</div>
I have attached mouse in and mouse out events to each of the span elements. Now, on mouse in event is it possible to find out using jQuery whether the current hovered span element is the first span element with the class foo?