简体   繁体   中英

Jquery plugin for widget to scroll number up and down?

I'm looking for something that behaves like a text box and a drop-down for numbers. It has "up" and "down" buttons on the side. Clicking or holding "up" increases the number on the text box. Clicking or holding "down" button decreases it.

I remember seeing it in Visual Basic forms but I'm wondering if there is a web equivalent of such a thing; in the form of a jquery plugin or something.

I need it to look something like this.

在此处输入图片说明

Bonus points: If I could click on the "up" arrow and drag it upwards, the number should increment faster and vice-versa.

The name of the widget is apparently "numeric textbox". Kendo has a numeric textbox widget that gives this exact behavior, but it's not free.

I found another free widget called jstepper , but it's probably buggy and doesn't provide the behavior I'm expecting.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM