timedropper is a jQuery UI timepicker. Manage time input fields in a standard form. Focus on the input to open an small interactive timepicker.
$( "#alarm" ).timeDropper({format24Hours: true})
You will see time in 24 hour format on the clock and in the input field.
$( "#alarm" ).timeDropper({earliestTime: "08:00"})
When a user chooses a time below the limit, then the time is setted to the earliest time. E.g. a if you set the earliestTime option to 08:00 and a user chooses 07:30, then time goes up to 08:00.
$( "#alarm" ).timeDropper({latestTime: "20:00"})
When a user chooses a time above the limit, then the time is setted to the latest time. E.g. a if you set the latestTime option to 20:00 and a user chooses 21:30, then time goes up to 20:00.
$( "#alarm" ).timeDropOne({minutesIntervalPerHour: 4})
This will allow users to set time in intervals of 1/4 hours (15 minutes). To set time in intervals of 30 minutes set minutesIntervalPerHour to 2 (1/2 hour)