JavaScript NumberInput

Bind to the textchanged event by type: jqxNumberInput. Author: http://jqwidgets.com

by jqwidgets

HTML

<link rel="stylesheet" href="https://jqwidgets.com/public/jqwidgets/styles/jqx.base.css">
<script src="https://jqwidgets.com/public/jqwidgets/jqx-all.js"></script>
<link rel="stylesheet" href="https://jqwidgets.com/public/jqwidgets/styles/jqx.energyblue.css">
<div id='jqxNumberInput'></div>
<div id="log"></div>

JavaScript

$("#jqxNumberInput").jqxNumberInput({
     width: '250px',
     height: '25px',
     theme: 'energyblue',
     spinButtons: true
 });
 $('#jqxNumberInput').on('textchanged', function (event) {
     var value = event.args.value;
     $("#log").html('The new value is: ' + value);
 });