I have a star-time and end-time option which is working well.
start-time [8:00am, 8:30am, 9:00am, 9:30am, 10:00am]
end-time [8:00am, 8:30am, 9:00am, 9:30am, 10:00am]
If the user start-time selection is 9:00am, I have the following code working
$('#start-time').change(function(){
$('#end-time').timepicker('option','minTime',$(this).val());
});
However, the above code shows options as
end-time [9:00am, 9:30am, 10:00am]
If the user start-time selection is 9:00am, then I would like the end-time options to only have greater tiles
end-time [9:30am, 10:00am] (only)
How can I set the end-time greater than the selected start-time?