摘要:
jQuery function fomatterTel(val, old) {//val: 当前input的值,old: input上次的值 var str = ""; var telLen = val.length; if (old.length <= telLen) { if (telLen 4 阅读全文
posted @ 2018-10-27 14:26
错过1332
阅读(1261)
评论(0)
推荐(0)
摘要:
禁止粘贴:onpaste = "return false"; 点击输入框全选旧内容:onclick="this.select()" 获得焦点时全选:onfocus = "this.select()" 阅读全文
posted @ 2018-10-27 14:23
错过1332
阅读(78)
评论(0)
推荐(0)

浙公网安备 33010602011771号