Problems encountered:
The laydate time component can only assign values to the first input box when there are multiple time input boxes under Firefox (the same problem is also found under safari);
Solution:
Bind id to laydate;
Code before resolution:
<input id="startTime" placeholder="Please enter the start time"onClick="laydate({istime: true, format: 'YYYY-MM-DD hh:mm:ss'})"><br><br><input id="endTime" placeholder="Please enter the end time"onClick="laydate({istime: true, format: 'YYYY-MM-DD hh:mm:ss'})">After the solution code:
<input id="startTime" placeholder="Please enter the start time"onClick="laydate({elem: '#startTime', istime: true, format: 'YYYY-MM-DD hh:mm:ss'})"><br><br><input id="endTime" placeholder="Please enter the end time"onClick="laydate({elem: '#endTime', istime: true, format: 'YYYY-MM-DD hh:mm:ss'})">The above is the solution to the Laydate time component that I introduced to you when there are multiple time input boxes in Firefox browser. I hope it will be helpful to you. If you have any questions, please leave me a message and the editor will reply to you in time. Thank you very much for your support to Wulin.com website!