What is the keyCode for “$”?

前端 未结 5 1921
萌比男神i
萌比男神i 2021-01-18 06:07

I am trying to disable all other characters from being entered in text input.

Since to get the $ you have to press the shift-key and the

5条回答
  •  甜味超标
    2021-01-18 06:33

    onkeypress - The Unicode CHARACTER code is: 36

    onkeydown - The Unicode KEY code is: 52

提交回复
热议问题