我有2个输入字段:
日期:
<input type="date" id="currentDate">
时间:
<input type="time" id="currentTime" >
我只是在测试html5的这些新功能.如何在这些字段中设置当前值.我很难通过javascript在这些字段中设置值.
html javascript html5
html ×1
html5 ×1
javascript ×1