Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

disableTimeRanges

$('#totimeofappointment').attr("placeholder", "To hh:mm").timepicker({
            timeFormat: 'h:mm p',
            interval: 15,
            minTime: '10:00',
            maxTime: '5:00pm',
            maxMinutes: 45,
            startTime: '10:00',
            dynamic: false,
            dropdown: true,
            scrollbar: true,
            disableTimeRanges: [ ['1:30pm', '2:30pm'], ['3pm', '4:01pm'] ]
            change: function (time) {
              }
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #disableTimeRanges
ADD COMMENT
Topic
Name
6+5 =