How to restrict the input text to accept only the numbers after 5 seconds after i click the button and keeps not accepting texts for 30 seconds

后端 未结 0 808
故里飘歌
故里飘歌 2020-12-02 03:12
function del(){ var reg=/[^0-9]/gi; inpt.value=inpt.value.replace(reg,\"\");} function start(){
相关标签:
回答
  • 消灭零回复
提交回复
热议问题