Javascript - validation, numbers only

前端 未结 14 1706
感动是毒
感动是毒 2020-12-08 09:52

I\'m trying to get my login form to only validate if only numbers were inputted. I can it to work if the input is only digits, but when i type any characters after a number,

14条回答
  •  悲&欢浪女
    2020-12-08 10:31

    I think we do not accept long structure programming we will add everytime shot code see below answer.

提交回复
热议问题