Html NumberInput

Set the decimal property of the jqxNumberInput. Author: http://jqwidgets.com

by mogador

HTML

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

<p>
The step should be of 0.5

clic 7 times on spin down ==> the caret moves to the left ==> after 6 clics, the step is now of 5 instead of 0.5 
</p>

JavaScript

$("#jqxNumberInput").jqxNumberInput({
    groupSeparator: '', groupSize: 0, inputMode: 'simple', min: 0,  spinButtons: true, decimalDigits: 1, spinButtonsStep: 5, symbolPosition: 'right', symbol: 'F CFA'
 });