timepicker 订阅
timepicker 展开全文
timepicker
信息
操作系统
未知
开发语言
开源协议
未知
timepicker
This is a fairly simple jQuery plugin that replaces a single text input with a set of pulldown menus to select hour, minute, and am/pm. Minute selections are for quarter hours (:00, :15, :30, :45). If the original input contains a time value in the format "hh:mmpp" (i.e., "06:30pm"), it will set the pulldown menus to the correct corresponding values. Otherwise it will default to the current time. Minute values are always rounded up to the next quarter hour. The original input is updated whenever any of the pulldown menus change, so there is no need to change anything else in your HTML form. The plugin can be used safely to convert multiple inputs on the same page. Options could easily be added for additional time formats or to change the minute increments (say, to every 5 minutes, for instance). Usage is simple. Given a plain text form input like this: You would transform it into a timepicker like so: $('input.time').timepicker();
收起全文
精华内容
下载资源
问答

空空如也

空空如也

1 2 3 4 5 ... 20
收藏数 11,587
精华内容 4,634
关键字:

timepicker