JSFiddle - React, Tailwind, and code Playground

HTML

<input type=text>

JavaScript

// Fix lack of a change event on Enter in oldIE
if ( !jQuery.support.changeBubbles ) {
    $('<input type=submit style="width: 1px; height: 1px">')
        .appendTo("body")
        .on("click", false)
}
                  
// The "normal" change handler, attach after the patch above
$("input[type=text]").on("change", function(e){
    $("body").append("<br>change "+this.value);
});