Triggered when new value is selected inside the picker.
Parameters
Name | Type | Description |
---|---|---|
e | {object} | event data |
type | {string} | The type of the selection. The options are hour and minute. |
Examples
sample
<input id="timepicker" width="312" />
<script>
$('#timepicker').timepicker({
modal: true,
header: true,
footer: true,
change: function (e) {
alert('Change is fired');
},
select: function (e, type) {
alert('Select from type of "' + type + '" is fired');
}
});
</script>