JSFiddle - React, Tailwind, and code Playground
by tonytlwu
HTML
<input type="text" id="foo" />
JavaScript
$('#foo').on('keyup input change', function (e) {
console.log(e.type, $(this).val());
});
by tonytlwu
<input type="text" id="foo" />
$('#foo').on('keyup input change', function (e) {
console.log(e.type, $(this).val());
});