I have a main anchor tag with two span tags inside, each with a different class name as shown below.
<a class="clickSlide" id="btnmain_login" href="/">
<span class="Icohide"></span>
<span class="Icoactive"></span>
</a>
When logged in, the span with the Icoactive
class will be active. When not logged in, the span with the Icohide
class will be active. How can I determine which span class is currently active using jQuery?
Any assistance would be greatly appreciated.