Plugins

The plugins site is currently in development.

We've been looking to provide a higher-quality, spam-free experience at the plugins site for some time, and a major error on our part forced us to shut down the current site before we could put the new one in place. We are developing a new site, and you can follow along with its development on GitHub. For more information about this transition, including steps you can take as a plugin author to prepare, please read our post about what's going on.

spinbox


Increment - jQuery Plugin for numeric inputs

The Increment plugin allows for efficient keyboard-based value manipulation using the arrow keys, with Shift/Ctrl/Cmd modifiers for larger/smaller changes, and optional graphic UI hints.

jQuery spinbox form element

Converts a textbox into a spinner control without adding any mark-up to the page. Provides a handy ui field for selecting numeric input.
(The appearance of the up/down buttons is provided by a background image sprite)

$("INPUT.spinbox").spinbox();
$("INPUT.spinbox").spinbox({
  min: 0,    // Set lower limit or null for no limit.
  max: 100,  // Set upper limit or null for no limit.
  step: 0.5, // Set increment size.
});

The spinbox() method accepts a hash of options such as min and/or max to limit the spinner value and step to specify the size of the increments. Accepts keyboard control via up and down keys as well as mouse wheel (in addition to typing into the text box as normal). Specify bigStep option to apply larger increments when page up or page down is pressed or when the Shift button is held down