$(function(){
var curr_time = new Date();
var strDate = curr_time.getFullYear()+"-";
strDate += curr_time.getMonth()+1+"-";
strDate += curr_time.getDate()+"-";
strDate += curr_time.getHours()+":";
strDate += curr_time.getMinutes()+":";
strDate += curr_time.getSeconds();
$("#dd").datebox("setValue", strDate);
});
在页面初始化时候 jquery easyui datebox 怎么设置默认值为当前系统日期
最新推荐文章于 2022-12-16 11:25:11 发布