type=‘datetime-local’的input如何设置默认当前日期和00:00

type=‘datetime-local’的input是h5中一种新的日历标签,它包括年月日时分。如今项目中的需求为每次打开让他默认为当前的日期,可是时分须要是归零。样式为: 2018/11/19 00:00javascript 代码为: java <body> <label> <span>测量日期</span> <input type="datetime-local" class="m
相关文章
相关标签/搜索