js日期控件赋值

it2025-04-10  6

 

 

//在当天日期上加一天; var date = new Date(); var datastr = date.getFullYear() + "-" + (date.getMonth() + 1) + "-" + (date.getDate()); $("#ID").val(datastr); 或者 $('#ID').datebox('setValue', datastr);

 

转载于:https://www.cnblogs.com/lhlong/p/6856604.html

相关资源:日历控件(如何获取当前页面的值)
最新回复(0)