JSFiddle - React, Tailwind, and code Playground

HTML

<div><label> Click me <input type="checkbox" /> </label><div>

JavaScript

$('div').on( 'click', '*', function() {
    alert( 'click source was: ' + this.nodeName );
});

$('label').on('click', function() {
    alert('label click');
});