Skip to content
This repository has been archived by the owner on Jun 25, 2024. It is now read-only.


Folders and files

Last commit message
Last commit date

Latest commit



39 Commits

Repository files navigation


Spinbox is a jQuery-mobile based number spinner. Full Documentation and Demos

The spinbox control is simple to use - just load the script after jQM, and set your data-type="spinbox". Initial input type can be whatever you want, nothing is changed - min/max are enforced with the buttons.

<script type="text/javascript" src=""></script> 
<script type="text/javascript" src=""></script>

<!-- Optional Mousewheel support: -->
<script type="text/javascript" src="PATH/TO/YOUR/COPY/OF/jquery.mousewheel.min.js"></script>

<script type="text/javascript" src=""></script>

A typical input:

<div class="ui-field-contain">
    <label for="spin">Input spinner</label>
    <input type="text" data-role="spinbox" name="spin" id="spin" value="60" min="0" max="100" />