input中每输入三位数字就添加一个逗号 2020-02-28 本文已影响0人 蜗牛和曼巴 onkeyup="var reg=/(\d{3})\.*/g;this.value=this.value.replace(reg, '$1,');"