Home > front end >  If the else in HTML how to determine if input is a number? Plus judgement, even, to solve
If the else in HTML how to determine if input is a number? Plus judgement, even, to solve

Time:10-10

One great god tell me how to implement this functionality, phase (learning),

CodePudding user response:

refer to the original poster weixin_45999852 response:
which great god tell me how to implement this feature, phase (learning),

Using instanceface keywords

CodePudding user response:

reference 1st floor weixin_45962828 response:
Quote: refer to the original poster weixin_45999852 response:
which great god tell me how to implement this feature, phase (learning),

Using instanceface keyword

(s instanceface number)

CodePudding user response:

 if (isNaN (s)) {
Alert (" not a number ");
}

CodePudding user response:

The
reference 3 floor sky waves reply:
 if (isNaN (s)) {
Alert (" not a number ");
}

Thank you, has been solved, ha, ha, ha, thank you??