Hello,
I want to allow only numbers from 0 to 45 in the input field, not characters.
Must have number entry permissions such as 5.05, 8.75
This code allows input of number in 0.00 format and how to set input limit of number from 0.00 to 45.00
$("#id-name").on('blur change input', function () {
$(this).val(function (i, input) {
input = input.replace(/\D/g, '');
return (input / 100).toFixed(2);
});
}).trigger('blur');
how do i do this
can you help me
Thank you