0
If input value not equal to numbers
if input.value !== numbers 0-9 then perform function
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
if input.value !== numbers 0-9 then perform function