jquery.ui.timeselect

A jQuery UI library for selecting time.

Requirements

Options

  1. step (default: 30)
    The minute increment of the select options.
  2. 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).
  3. maxResults (default: null)
    The maximum number of results displayed, or no limit if null.
  4. 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
    }
});