1. no, getTime()代表了从 1970年1月1日开始计算到Date 对象中的时间之间的毫秒数, 当前的毫秒数 = getMilliseconds()2. form.elements == Array of button, input, select, and textArea objects inside a form3. document.mytest.submit() is an action to submit the form right away without firing the event "onsubmit". "Onsubmit" is an event fired when you click on a "submit" button. You can implement an event handler for it to check if the input inside a form is valid or not
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货