JSFiddle - React, Tailwind, and code Playground
HTML
<form>
<fieldset>
<label>Username: <input type="text" /></label>
</fieldset>
</form>
JavaScript
var callme = function () {
console.log('i am called');
}
$('input[type=text]').on('propertychange', callme);