javascript - HTML - Number Input Limit (Go Up/Go Down 10 to 10) -
i want when press arrow number change (increase) 0-to-10 /then/ 10-to-20 / 20-to-30 mean 10 10. , if press down arrow, number change (decrease) 10 10.
<input type="number" value="0" min="0" max="99999999" />
i don't know javascript or jquery well. couldn't found in google/stackoverflow. haven't code on jsfiddle.
you want step
attribute. specifies how far increase or decrease number. example:
<input type="number" value="0" min="0" max="99999999" step="10" />
Comments
Post a Comment