I have found a little bug while trying to use it (last version from
http://www.softwareunity.com/sandbox/jqueryspinbtn/)

It seems to fail when you set the min value to 0, like this:

var myOptionsHour = { min: 0, max: 23, step: 1 }
$("#someid").SpinButton(myOptionsHour);

Everything works fine, but it allows you to spin to negative values, just
doesn't respect the 0 min value.

Seems to be a problem in adjustValue() function... sorry i can't help more,
i'm just a newbie to javascript (And English tbh!).

I have "fixed" it for me in the mean time by just passing min as text...

var myOptionsHour = { min: "0", max: 23, step: 1 }
$("#someid").SpinButton(myOptionsHour);

Thanks for this great piece of software !
-- 
View this message in context: 
http://www.nabble.com/JQuery-Plugin%3A-SpinBox---SpinButton-Control-%28with-no-extra-markup%29-tf2091766.html#a7876688
Sent from the JQuery mailing list archive at Nabble.com.


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to