jQuery-UI Date and Time-Range Picker

前端 未结 4 1467
清歌不尽
清歌不尽 2020-12-11 07:49

I\'m creating a page to manage the our times at the office (for example when we made home-office). This requires selecting a date and then time-range.

I know about t

4条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-11 08:11

    $(document).ready(function(){
      $(".datetimepicker").datetimepicker({
          timepicker: true,
          allowTimes: [
              '12:00', '12:30', '13:00','13:30','14:00',
    '14:30', '15:00', '15:30', '16:00',   ]
      });
    });
    
    
    
    

提交回复
热议问题