简体   繁体   中英

Exclude and disable holidays in jquery UI datepicker diff between two dates

I have this Fiddle . I'd been trying to disable holidays with this array

var array = ["2016-03-21","2016-03-24","2016-03-25"]

But doesn't works, in different ways like this fiddle but nothing.

And also I need that in the diff of the two dates exclude the holidays in the array.

I hope you can help me. Thanks

我没有对此进行测试,但该文章及其评论似乎足以令人信服,表明它可能对您有用https : //davidwalsh.name/jquery-datepicker-disable-days

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM