摘要: $("#AccountNum").keydown(function(e) { if(!isNaN(this.value.replace(/[ ]/g,""))){ this.value =this.value.replace(/\s/g,'').replace(/(\d{4})(?=\d)/g,"$1 ");//四位数字一组,以空格分割 }else{ ... 阅读全文
posted @ 2019-10-14 09:17 study_php_java_C++ 阅读(326) 评论(0) 推荐(0) 编辑