JSFiddle - React, Tailwind, and code Playground
HTML
<input id="myTextBox" type="text"/>
JavaScript
$("#myTextBox").bind("change paste keyup", function() {
alert($(this).val());
});
<input id="myTextBox" type="text"/>
$("#myTextBox").bind("change paste keyup", function() {
alert($(this).val());
});