JSFiddle - React, Tailwind, and code Playground

HTML

<input type=text>
<input type=text value="something">

JavaScript

// Fix lack of a change event on Enter in oldIE
    $("input[type=text]")
        .on("change", function(e){
            $.data(this, "value", this.value);
        }).on("keyup", function(e){
           if ( e.which === 13 && this.value != $.data(this, "value") ) {
               $(this).trigger('change');
           }         
        })
                  
// The "normal" change handler, attach after the patch above
$("input[type=text]").on("change", function(e){
    $("body").append("<br>change "+this.value);
});