«
关于input

时间:2022-10-8    作者:文博    分类: WEB前端


input只能输入数字小数点
onkeyup="value=value.replace(/[^\d.]/g,'')"