2021年5月11日

只能输入数字和小数点的正则

摘要: 只能输入数字和小数点的正则 <input type="text" autocomplete="off" id="price" autofocus="autofocus" onkeyup="value=value.replace(/[^\d^\.]+/g,'')"> onkeyup="value=va 阅读全文

posted @ 2021-05-11 11:27 快乐鱼 阅读(3761) 评论(0) 推荐(0) 编辑

导航