How can I make <input> elements not react to pressing the Up arrow (keyCode 38) or the Down arrow (keyCode 40), while they are focused? I’m using jQuery for the project, but have no qualms against writing it in raw JS if that’s easier.
How can I make <input> elements not react to pressing the Up arrow (keyCode
Share
Like this:
Documentation here