JSFiddle - React, Tailwind, and code Playground

HTML

<input type="checkbox" />
<p>Cell 2</p>

JavaScript

$("input, p").click(function(e) {
    alert(e.srcElement);
    alert(e.target);
});