摘要: $("#ipt").bind('input propertychange',function(){ var value=$(this).val().replace(/\s/g,'').replace(/(\d{4})(?=\d)/g,"$1 "); $(this).val(value) }) 阅读全文
posted @ 2018-10-31 11:09 苏尘尘 阅读(200) 评论(0) 推荐(0) 编辑