javascript - disable list dates jquery datepicker -


i use date range calendar: daterangepicker.com

there method disable date (for example: 2016-02-06 , 2016-05-22 ) when select start date? pre-disable dates in function: rendercalendar() , push class: off , disable , working. - how disable next dates when click start date? try append class (off , disabled) in function clickdate() not appended... me?

or maybe there other jquery library select range in datepicker, can disable various dates in click , init?

you can try jquery ui date picker https://jqueryui.com/datepicker/#min-max


Comments