Html NumberInput
Invoke the destroy method of the 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>
<input style="margin-top: 20px;" type="button" id='jqxButton' value="Destroy" />
</div>
JavaScript
$("#jqxNumberInput").jqxNumberInput({
width: '250px',
height: '25px',
theme: 'energyblue',
spinButtons: true,
decimal: 200
});
$("#jqxButton").jqxButton({
height: '30px',
width: '120px',
theme: 'energyblue',
});
$('#jqxButton').on('click', function () {
$('#jqxNumberInput').jqxNumberInput('destroy');
});