JSFiddle - React, Tailwind, and code Playground

by tabalinas

HTML

<input type="text">
<button>Text</button>

JavaScript

$("input").on("focusOut blur change", function(e) {
    console.log(e.type);
});

$("button").on("click", function(e) {
    console.log(e.type);
});