I am using clock-style time picker plugin.In that i need to restrict the time, to show AM or PM and also want to add button image to that field.
Here is the code which i have added in my js file:
var input = $('#field');
input.clockpicker({
autoclose: true
});
$('#field').clockpicker({
placement: 'bottom',
align: 'left',
donetext: 'Done',
});