'<label id="quantite" for="quantite">Quantite : </label><input id="QteSpinner" value="1"></br>'
[...]
var newSpinner = $( "#QteSpinner" ).spinner({
min: 1
});
How could I restrict the user to only type numbers in a JQuery spinner like this one?
Thanks
Use
{decimals:0}
or
{min:0}
or both together in the options