Answer the question
In order to leave comments, you need to log in
How to cancel the movement of the cursor in the input when clicking on the arrows?
I tried to do like this but it doesn't work. Maybe there is some way?
if(event.keyCode == 38) {
event.preventDefault();
}
Answer the question
In order to leave comments, you need to log in
Question removed) I just hung up on the keyup event so it didn’t work
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question