JSFiddle - React, Tailwind, and code Playground
by Zaheer Ahmed
HTML
With KeyUp: <input type='text' id='textBox'/>
Witg Change: <input type='text' id='textBox2'/>
JavaScript
//copy this and paste to textbox
$(document).ready(function(){
$('#textBox').keyup(function () {alert('changed');});
$('#textBox2').change(function () {alert('changed');});
});