how to implements optional hour range in jquery datetimepicker from 9am - 9pm?
Asked
Active
Viewed 3,042 times
0
-
http://stackoverflow.com/a/13769913/ – chridam Apr 17 '14 at 13:10
-
i need datetimepicker not datepicker ? – 3lviend Apr 17 '14 at 13:23
1 Answers
1
You can try this plugin: http://trentrichardson.com/examples/timepicker/ And apply the restriction like:
$('#rest_example_1').timepicker({
hourMin: 8,
hourMax: 16,
//Other options here
});

K K
- 17,794
- 4
- 30
- 39