1. 方法一 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"…
July 6, 2015
jquery: 手机版时间拾取器 date time picker for mobile
Pickers
There are three picker files:
picker.js
The core file (required before any other picker)picker.date.js
The date pickerpicker.time.js
The time picker
To support old browsers, namely IE8, also include the legacy.js
file.
Themes
All themes are generated using LESS and compiled from the lib/themes-source
folder into the lib/themes
folder.
There are two themes:
default.css
The default modal-style themeclassic.css
The classic dropdown-style theme
Based on the theme, pick the relevant picker styles:
default.date.css
anddefault.time.css
when using the default themeclassic.date.css
andclassic.time.css
when using the classic theme
** For languages with text flowing from right-to-left, also include the rtl.css
stylesheet.
Translations
The translations live in the lib/translations
folder. There are currently 43 language translations included.
项目地址:https://github.com/amsul/pickadate.js
官网:http://amsul.ca/pickadate.js/
原文地址:jquery: 手机版时间拾取器 date time picker for mobile