- <input onkeyup="this.value=this.value.replace(/[^0-9.]/g,'')"> (正实数)
- <input onkeyup="this.value=this.value.replace(/[^0-9]/g,'')"> (正整数)
- <input type="text" onkeyup="this.value=this.value.replace(/[^(\-)0-9]/g,'')" > (允许输入-号)
s332361180 |
|
||
Copyright © 2025 s332361180
Powered by .NET 9.0 on Kubernetes |