tesSpinbox 1.1 review

Download
by rbytes.net on

tesSpinbox is a DHTML Spinbutton, Spinbox, Spincontrol, UpDown button or whatever you choose to call it. It is used to easily inpu

License: MPL (Mozilla Public License)
File size: 0K
Developer: Tomas Larsson
0 stars award from rbytes.net

tesSpinbox is a DHTML Spinbutton, Spinbox, Spincontrol, UpDown button or whatever you choose to call it.

It is used to easily input numbers into forms. tesSpinbox should work with all major browsers.

Include prototype first, and then spinbox.js. Change the path to the images (sb_imgpath) to point to where you uploaded the images.

Then to convert any textbox into a spinbox:

new SpinBox(id_of_textbox,min_value,max_value,padded_length);

For example:

< input type="text" id="myspin" size="2" >
< script language="javascript" >
new SpinBox('myspin',0,59);
< /script >

Will turn the textbox into a spinbox with a minimum value of 0, maximum value of 59 which is not zero-padded at all.

That's it! Good luck!

What's New in This Release:
Spinboxes now have the ability to be chained together, so an update to one spinbox now updates the next.
This helps when you want to input times.

tesSpinbox 1.1 keywords