<input   type="text" onkeyup="javascript:this.value=this.value.replace(/[^\d]/g,'');if(this.value<0){
this.value=0;};if(this.value>1000){this.value=1000;}" onchange="javascript:this.value=this.value.replace(/[^\d]/g,'');if(this.value<0){
this.value=0;};if(this.value>1000){this.value=1000;}" />
保证你除了0-1000的数字什么都不能输入

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-02-04
  • 2022-02-15
  • 2021-05-25
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-01-03
  • 2021-12-20
  • 2022-12-23
  • 2022-12-23
  • 2021-08-05
  • 2021-07-27
相关资源
相似解决方案