timepicker

码农软件 · 软件分类 · 其他jQuery插件 · 2020-01-13 17:58:37

软件介绍

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:

<input class="time" type="text" name="start" id="start" />

You would transform it into a timepicker like so:

$('input.time').timepicker();

本文地址:https://codercto.com/soft/d/23308.html

Java解惑

Java解惑

(美)布洛克·加夫特 / 陈昊鹏 / 人民邮电出版社 / 2010-11-22 / 49.00元

你认为自己了解Java多少?你是个爱琢磨的代码侦探吗?你是否曾经花费数天时间去追踪一个由Java或其类库的陷阱和缺陷而导致的bug?你喜欢智力测验吗?本书正好适合你! Bloch和Gafter继承了Effective Java一书的传统,深入研究了Java编程语言及其核心类库的细微之处。本书特写了95个噩梦般的谜题,中间穿插着许多有趣的视觉幻象,寓教于乐。任何具备Java知识的人都可以理解这......一起来看看 《Java解惑》 这本书的介绍吧!

XML、JSON 在线转换
XML、JSON 在线转换

在线XML、JSON转换工具

html转js在线工具
html转js在线工具

html转js在线工具

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具