我正在使用这个和这个。我想要开发JS代码,它将确定用户是否选择了数据报警器上的当前日期,如果是这样的话,这将触发一个时间选择器的函数,该函数将在实际时间之前禁用所有时间。我是JavaScript的新手,所以我只得到了这么多。
HTML:
<input id="datemax" placeholder="Enter the date of incident" type="text"/>
<input id="timemax" placeholder="Enter the time of incident&