JSFiddle - React, Tailwind, and code Playground
HTML
<input type="text" id="textbox" />
JavaScript
//$("#textbox").keyup(function() {alert("Keyup detected!");});
$("#textbox").change(function() {alert("Change detected!");});
<input type="text" id="textbox" />
//$("#textbox").keyup(function() {alert("Keyup detected!");});
$("#textbox").change(function() {alert("Change detected!");});