Using e.keyCode || e.which; how to determine the difference between lowercase and uppercase?

后端 未结 5 1957
星月不相逢
星月不相逢 2020-12-20 20:32

I am using e.keyCode || e.which; to determine which key was pressed, but I am getting 65 for both a and A why is this happening and ho

5条回答
  •  无人及你
    2020-12-20 21:12

    This script is useful for small and capital letters press

    Char: Keycode:

提交回复
热议问题