<div class="ticket-selector active">
<p>
<a data-toggle="collapse" data-parent="#ticket-panel" href="#collapseOne" class="tickets-more"><span class="halflings info-sign orange"></span></a>
</p>
<div id="collapseOne" class="collapse in" style="height: auto;">
<p>
Anim pariatur cliche reprehenderit
</p>
</div>
</div>
So, when the ".ticket-selector" div is clicked it becomes active. Inside the Div there is a child class that triggers an accordion, the class is ".tickets-more". However, when this child element is clicked I do not want the parent to be active. Anywhere else in the div is ok to show the active class on parent but just not the child class.
event.stopPropagation()- VisioNtickets-morea direct child of the active div? Since it's not present in your demo code. Ah Fiddle would be nice as well. - timo