摘要:
form下表示: var forms =document.forms[0]; var forms =document.myform; 找input:var txtName = form.elements['userName']; e var e=window.event||arguments[0]; 阅读全文
摘要:
//分辨率兼容 ;(function(win,doc){ var rem = 40/750*doc.documentElement.clientWidth; doc.documentElement.style.fontSize=rem+'px'; win.addEventListener('resi 阅读全文
摘要:
//时间戳转日期 2017-04-30 13:20 //type=1--> 2017-04-30 13:20 //type=2-->2018年08月 //type=3-->2018-08-30 function time_conversion(stamp,type){ var date = new 阅读全文