开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜