author | Lennard de Rijk <ljvderijk@gmail.com> |
Sun, 08 Mar 2009 13:14:28 +0000 | |
changeset 1741 | 0da1285f5bc0 |
parent 1646 | 42b8e294792e |
child 2022 | 3d84ec6dbd03 |
permissions | -rw-r--r-- |
1451
ef134d062b83
Add generic datepicker support
Sverre Rabbelier <srabbelier@gmail.com>
parents:
diff
changeset
|
1 |
$(function() { |
ef134d062b83
Add generic datepicker support
Sverre Rabbelier <srabbelier@gmail.com>
parents:
diff
changeset
|
2 |
$('.datetime-pick').datetimepicker(); |
ef134d062b83
Add generic datepicker support
Sverre Rabbelier <srabbelier@gmail.com>
parents:
diff
changeset
|
3 |
$('.date-pick').datetimepicker({ |
ef134d062b83
Add generic datepicker support
Sverre Rabbelier <srabbelier@gmail.com>
parents:
diff
changeset
|
4 |
'pickDateOnly' : true, |
ef134d062b83
Add generic datepicker support
Sverre Rabbelier <srabbelier@gmail.com>
parents:
diff
changeset
|
5 |
'timeFormat' : '', |
ef134d062b83
Add generic datepicker support
Sverre Rabbelier <srabbelier@gmail.com>
parents:
diff
changeset
|
6 |
'yearRange' : '1900:2008', |
ef134d062b83
Add generic datepicker support
Sverre Rabbelier <srabbelier@gmail.com>
parents:
diff
changeset
|
7 |
}); |
ef134d062b83
Add generic datepicker support
Sverre Rabbelier <srabbelier@gmail.com>
parents:
diff
changeset
|
8 |
}); |
ef134d062b83
Add generic datepicker support
Sverre Rabbelier <srabbelier@gmail.com>
parents:
diff
changeset
|
9 |