Karthik Kumar

Karthik Kumar

  • 1.6k
  • 337
  • 109.2k

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

Jun 28 2019 8:06 AM
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) {
)
 

Brought to you by: JavaScript SDK for Bold BI dashboard and analytics embedding. Free trial.

Answers (8)