摘要:
jQuery function fomatterTel(val, old) {//val: 当前input的值,old: input上次的值 var str = ""; var telLen = val.length; if (old.length <= telLen) { if (telLen 4 阅读全文
摘要:
禁止粘贴:onpaste = "return false"; 点击输入框全选旧内容:onclick="this.select()" 获得焦点时全选:onfocus = "this.select()" 阅读全文