限制input输入两位小数

that.value = that.value.replace(/^(\-)*(\d+)\.(\d\d).*$/, '$1$2.$3'); //只能输入小数 https://blog.csdn.net/qq_24935119/article/details/96437971 https ...

Thu Aug 06 19:27:00 CST 2020 0 493
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM