摘要: var url = "http://www.wrox.com/illegal value.html#start";encodeURIComponent(url) //"http%3A%2F%2Fwww.wrox.com%2Fillegal%20value.html%23start" encodeUR 阅读全文
posted @ 2018-11-05 15:40 shuihanxiao 阅读(212) 评论(0) 推荐(0) 编辑
摘要: npm install --save jsencrypt 阅读全文
posted @ 2018-11-05 15:04 shuihanxiao 阅读(541) 评论(0) 推荐(0) 编辑
摘要: /*重置浏览器默认样式*/body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre,form, fieldset, input, textarea, p, blockquote, th, td ,button{ padding: 0 阅读全文
posted @ 2018-11-05 14:53 shuihanxiao 阅读(1026) 评论(0) 推荐(0) 编辑
摘要: html <div class="pwdContent"> <div class="pwdBox"></div> <div class="pwdErrorPoint">请输入数字!</div></div>js // 短信验证码/*动态生成*/var pwdBox = document.getElem 阅读全文
posted @ 2018-11-05 11:36 shuihanxiao 阅读(518) 评论(0) 推荐(0) 编辑