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