how to disable the holidays and saturdays and sundays from jquery calendar in asp.net?
in my application using jquery date picker,my problem is in ui customer select the date , customer select the weekends(satua开发者_Go百科rdays, sundays) and USA holidays(01-01-2011 etc- but year changed based on pc date) disabled (not selected). i am writing code like this
$(function () {
$('#txtPaymentDate').datepick({ onDate: $.datepick.noWeekends, showTrigger: '#calImg'
});
});
$("#datepicker").datepicker({ beforeShowDay: $.datepicker.noWeekends });
From the docs: http://docs.jquery.com/UI/Datepicker/noWeekends
精彩评论