JSFiddle - React, Tailwind, and code Playground

by chridam

HTML

<input type="number" id="n" value="1" step="1" max="10" />

JavaScript

$(":input").bind('keyup mouseup', function () {
    alert("changed");            
});