<td>
<input id="happenTimes" name="happenTimes" class="easyui-datebox" data-options="170,required:true" missingMessage="发生时间不能为空" value="" />
<span style="font-size:12px;color:red">*</span>
</td>
$('#happenTimes').datebox('calendar').calendar({
validator : function(date){
var now = new Date();
var d1 = new Date(now.getFullYear(),now.getMonth(),now.getDate());
return date <= d1;
}
});