html input 只容許數字

οninput="value=value.replace(/[^\d]/g,'')"html 轉載於:https://www.cnblogs.com/wlgclining/p/10777344.htmlpost
相關文章
相關標籤/搜索