代码人»首页 技术广场 Html+css 查看内容

input标签 要求只能输入纯数字

285

主题

2

回帖

1090

积分

管理员

积分
1090
oninput = "value=value.replace(/[^\d]/g,'')"

微信扫一扫,分享更方便

举报 回复