i have a calendar and in this i want to disable dates for example i want to disable dates 25 to 29
from javascript
You can handle the beforeShowDay event to disable specific days:
$("selector").datepicker({
beforeShowDay: function(date) {
var day = date.getDate();
return [day < 25 || day > 29];
}
});
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.