If input value not equal to numbers | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

If input value not equal to numbers

if input.value !== numbers 0-9 then perform function

23rd Dec 2022, 6:57 PM
GOLLAKOTI VENKATA SAI SIVA MANI CHANDU
GOLLAKOTI VENKATA SAI SIVA MANI CHANDU - avatar
1 Answer
+ 3
Here you could use the x > 9 or x < 0 to avoid all numbers numbers from 0 to 9 and then call the function in a if statement
23rd Dec 2022, 7:09 PM
Vanessa Nilsson