只有任何月份的日期 1 和 16 可供选择。应禁用所有其他日期。请帮忙
$(closure.el).find('#listcmd_invoices .add .invoice-from-date-input')
.datepicker({
changeYear: true,
showAnim: 'slide',
changeMonth : true,
yearRange : "Y:+2Y",
beforeShowDay: function(date){
return [date.getDate() == 16 && date.getDate() == 1,""]
}
});