JSFiddle - React, Tailwind, and code Playground
by rlemon
HTML
<input type="text" id="test" />
JavaScript
$("#test").keydown(function(e) {
console.log("Keydown hit", this.value);
});
$("#test").keyup(function(e) {
console.log("Keyup hit", this.value);
});