How do you stop children from propagating an event triggered by a live/delegate listener?
问题 I have a delegation parent that listen for click events in a set of children with a specific class. $(".toggle_group").on("click",".toggle",function(e){ .. }); so heres an example of the html <div class='toggle_group'> <a class='toggle'>click me and i toggle <div>Im a child of toggle</div></a> <a class='toggle'>click me and i toggle <div>Im a child of toggle</div></a> <a class='toggle'>click me and i toggle <div>Im a child of toggle</div></a> <a class='toggle'>click me and i toggle <div>Im a