8
Answers

How to restrict the lenth of input number using keyup event?

Photo of Sujeet Raman

Sujeet Raman

6y
7.8k
1
hi, i need to restrict the digits which user can input in a text box.I dont need any html code i am using keyup event.Is there any way to use character code? or using event?
 
validateKeys(evt) {
)
 

Answers (8)