Answer the question
In order to leave comments, you need to log in
Why doesn't onChange work for input with type number when you enter a dot or comma?
There is an input, set the number type to it.
Hung onChange - does not work when you enter a dot or comma.
Works only when you enter a number.
I changed the type to text, of course - it worked.
Is this normal behavior or am I missing something somewhere?
Answer the question
In order to leave comments, you need to log in
You have an excellent level of English (if this is a really confirmed result, not an ordinary test from the Internet), so do not be lazy to look for tasks in English.
In general, isn't it time to start a pet project? In the process of googling how to solve the problems that have arisen, you yourself will feel how the skill will grow.
Here's who helped me get off the ground:
https://coursehunters.net/course/javascript-intens...
https://coursehunters.net/course/javascript-intens...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question