Check out a free preview of the full jQuery Plugins and jQuery UI course:
The "Spinner Widget" Lesson is part of the full, jQuery Plugins and jQuery UI course featured in this preview video. Here's what you'd learn in this lesson:
Unlike “slider”, “spinner” uses precise number values, using “min”, “max”, “step” and “page” only for a single value set by a regular text input. By default, “spinner” increases by step or page, incrementally. This method can be disabled to get a static increment. This widget can also accommodate internationalization for numbers (ie: currency) using the program’s Globalization Library. As with other widgets, events exposed by “spinner” include “spinstart”, “spin”, “spinstop” and “spinchange”.