摘要: onkeyup="this.value=this.value.replace(/\D/g,'')" 只能输入一位小数 <input type="text" onkeyup="this.value=this.value.replace(/(\d*\.\d).*/,'$1');" /> onkeyup= 阅读全文
posted @ 2021-06-21 10:22 遇你温柔如初 阅读(1739) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-06-21 09:42 遇你温柔如初 阅读(531) 评论(0) 推荐(0) 编辑