How can i create a increment/decrement text box in HTML Page using jquery or Javascript....
and also i want to set maximum and minimum values....
How to i achieve this?
The stepUp() method increments the value of the number field by a specified number. Tip: To decrement the value, use the stepDown() method.
Just try
<input type="number" name="points" step="1">
that's it. In the step, you can enter any value you want. And the arrows will move that many steps on clicking.
did you try input type="number"
?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With