I have an interesting question about event capturing, bubbling and jQuery.on()
.
I have recently learned more about the dif
You can't. jQuery events works with event bubbling it doesn't support capturing.
Also see
You can use e.target to get the exact element that was clicked
$('.parent').on('click', function(e){
if(e.target.classList.contains('child'))
// do something
}
})