-
-
Druid WensleydaleA wonderful serenit of my entire soul. 20 May 2018, 15:32
- Inverness McKenzieA wonderful serenit of my entire soul. 20 May 2018, 15:32
- McKenzie InvernessA wonderful serenit of my entire soul. 20 May 2018, 15:32
- Inverness McKenzieA wonderful serenit of my entire soul. 20 May 2018, 15:32
- Show All Notifications
-
-
George Martin
Hello, Welcome here
Time picker default
The basic setup requires targetting an input element and invoking the picker: $('.timepicker').pickatime()
Time picker default - Clear buttons
Change the text or hide the button completely by passing a false-y value:
clear: ''
Time picker default - format
Display a human-friendly label and input format and use an alternate one to submit.
format: 'T!ime selected: h:i a',
formatLabel: '<b>h</b>:i <!i>a</!i>',
formatSubmit: 'HH:i',
hiddenPrefix: 'prefix__',
hiddenSuffix: '__suffix'
Time picker default - intervals
Choose the minutes interval between each time in the list:
interval: 150
Time picker default - Time limits
Set the minimum and maximum selectable times on the picker. using javascript dates
min: new Date(2015,3,20,7),
max: new Date(2015,7,14,18,30)
or using arrays formatted as
min: [7,30],
max: [14,0]
