Answer the question
In order to leave comments, you need to log in
How to do this validation in JavaScript?
How to validate the character count, as in jquery using the keydown event, what is counted in the field, if less than 2 characters, the erorr class is added, if more than 2 characters, the error class is removed, well, I think advanced front-enders understood the idea, but everything is native, no jquery
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question