Gaining the eq() inside a div.
Hi, I have included a fiddle but I want to know how I can return the eq() of a class in a particular div.
For example when the user clicks on a team name it returns the eq() of the class (in this case club) from the parent <div> it is contained in..
So if the use clicks on Manchester City, it returns 1 as would Wolverhampton as both are are in different containers with a different id.
Here is the fiddle:
Thanks in advance.