html input 只容许数字

οninput="value=value.replace(/[^\d]/g,'')"html 转载于:https://www.cnblogs.com/wlgclining/p/10777344.htmlpost
相关文章
相关标签/搜索