Check for CapsLock ON in “onfocus” event

前端 未结 3 1257
时光说笑
时光说笑 2021-01-21 01:45

My following code for checking whether Capslock is on or not works fine on \"onkeypress\" event.

But i want it for \"onfocus\" event. i tried replacing \"onkeypress\" w

3条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-21 01:52

    Its seems impossible to detect caps lock onfocus I think this may help you please visit this

    http://jaspreetchahal.org/jquery-caps-lock-detection-plugin/

提交回复
热议问题