Inspired by https://github.com/eternicode/bootstrap-datepicker, required for a project we were working on
Attached to any number of fields:
<input type="text" value="15:00" class="timepicker" />
<input type="text" value="14:00" class="timepicker" />
$('.timepicker').timepicker();
Call the timepicker via javascript:
$('.timepicker').timepicker()
Requires bootstrap's dropdown component (dropdowns.less
) for some styles.