See http://www.bootply.com/dR7fxjP1bk
By pressing any of the div.rows (allows you to call this parent), the onClick event is triggered, a warning message appears for demonstration purposes.
Inside the string, the accordion crashes when the "info" button (orange button) is pressed (allows you to call this child), but the problem is that the parents are triggered by alerts.
I need the info button so as not to trigger a warning, only when they click somewhere else will a warning appear.
I tried various ways such as using (e) stopPropagation.on.off calls, etc. I am not the best jquery guy, so I need a little help to make this work, and also helped me learn something!
<div class="row ticket-selector" onclick="alert('Hello World!');"> <a data-toggle="collapse" data-parent="#ticket-panel" href="#collapseOne" class="tickets-more"><span class="halflings info-sign orange"></span></a> </div>
The above is a jist - but better for understanding - http://www.bootply.com/dR7fxjP1bk
source share