var tr = $('tbody>tr',this.datepicker.$datetable);
for( var i=0; i<tr.length; i++ ){
var $days = $('td[class!="week wn"]',tr[i]);
for( var j=0; j<$days.length; j++ ){
var $day = $($days[j]);
if( 6 != j && !$day.hasClass('oday')){
$day.data("disabled",true);
$day.attr('class','oday');
}
}
}
参考文档里面,把4改为6