2010年7月21日 星期三

jQuery Calendar with time picker

JQuery UI DateTimePicker


Source files
JS Files jquery.ui.datetimepicker.js (txt) jquery.ui.datetimepicker.js.txt
JS MIN Files jquery.ui.datetimepicker.min.js


Based on JQuery UI DatePicker + JavaScript Date Format,

Removed DatePicker option constrainInput.
Removed DatePicker input parsing, replaced with a basic date/time check.
Changed DatePicker formatting options from input/output formatting, to output formatting only.
Implemented JavaScript Date Format option for output formatting.

Added closest year based on absolute (ABS) distance from present year.
2/1/13 chooses 2013.
12/1/88 chooses 1988.


Minimum required dependencies.

1:

2:

3:

4:

5:

6:



Configures form element ID TextBox1 to be a jquery datetimepicker

1:



HTML Elements

1:

2:

3:


4:

5:


6:

7:



摘自:http://projectcodegen.com/JQueryDateTimePicker.aspx

沒有留言:

wibiya widget