随笔分类 - js
摘要://时间秒判断var re=/^(?:19|20)[0-9][0-9]-(?:(?:0[1-9])|(?:1[0-2]))-(?:(?:[0-2][1-9])|(?:[1-3][0-1])) (?:(?:[0-2][0-3])|(?:[0-1][0-9])):[0-5][0-9]:[0-5][0-9
阅读全文
摘要:前台 : function downFile(){ var form = document.createElement("form"); document.body.appendChild(form); var IdInput = document.createElement("input"); I
阅读全文
摘要:js执行函数报错Cannot set property 'value' of null 的解决方案: 原因:dom还没有完全加载 第一步:所以js建议放在body下面执行, 第二步:window.onload就能放在head头部执行。
阅读全文

浙公网安备 33010602011771号