Before input HTML tags with a type setting of "number" were widely supported by browsers, you could make a regular "text" type input and then dress it up in jQuery UI like so:
$("#MinInventoryOrder").spinner({ min: 0, max: 1000 });
Set the value of the spinner like so:
$("#MinInventoryOrder").spinner("value", number);
No comments:
Post a Comment