As per my post earlier (How to select a span with multiple classes and placed inside an anchor?)
I had implemented it as per the suggested solution & it worked perfect until I had an additional scenario now.
Earlier suggested sol:
$('span.c3.c4').not('.ignore_class).parents('a').click(function (e) { alert("clicked!"); });
But now I've another scenario where in I want to bind a click event to the anchor without having any span within it.
Anchor Def:
<a href="#">LINK_TEXT</a>
So, I've below code in place for this scenario.
$('a').not('.ignore_class').click(function (e) { alert("clicked!"); });
The issue I'm facing here is when I click on the anchor with span.. the click event on the anchor without span is fired.
Can anyone please help me resolvce this scenario? Thanks so much!!