A jQuery UI library for selecting time.
Requirements
Options
-
step (default: 30)
The minute increment of the select options.
-
format (default: 'h:mm tt')
The string format of the display time (For more examples, look at the ".toString()" method of the "core.js" file in Datejs).
-
maxResults (default: null)
The maximum number of results displayed, or no limit if null.
-
autocompleteSettings (default: {})
Settings to override the jQuery UI autocomplete settings.
Examples
$('#example-1').timeselect({ 'step': 15, autocompleteSettings: { autoFocus: true } });
$('#example-2').timeselect({ 'step': 15, 'maxResults': 5, autocompleteSettings: { autoFocus: true } });
$('#example-3').timeselect({ 'step': 15, 'format': 'HH:mm', autocompleteSettings: { autoFocus: true } });