JSFiddle - React, Tailwind, and code Playground
HTML
<input id="inputField" type="text" value="Fred" />
JavaScript
"use strict";
function documentReady() {
$("#inputField").bind("change paste keyup", function () {
alert("**** Got a change() on " + this.id + ", new value is ==>" + this.value + "<==")
});
inputField.value = "Barney";
}
jQuery(document).ready(documentReady);