numsccrubber.js is a JavaScript library for creating a handy number input that allows incrementing/decreasing the value by dragging on the X-axis & up/down arrow keys.
How to make use of it:
1. Insert the main JavaScript file numsccrubber.js into the web page.
<script src="src/numscrubber.js"></script>
2. Add the attribute ‘data-numsccrubber
‘ to the number input as follows:
Numscrubber.init();
<input type="number" data-numscrubber value="10">
3. It also supports native attributes for number input:
<input data-numscrubber type="number" value="10" min="-50" max="140" step="10">
See Demo And Download
Official Website(mburakerman): Click Here
This superior jQuery/javascript plugin is developed by mburakerman. For extra advanced usage, please go to the official website.