JSFiddle - React, Tailwind, and code Playground

HTML

<form id="a-form">
    <input id="a-text-input" type="text">
    <input id="another-text-input" type="text">
</form>

JavaScript

$("#a-form").change(function() {
    console.log("change event handler invoked");
});