1

I found this: Detect caps lock on/off using jQuery [duplicate]

It works when I use it with <input> tags. But it doesn't work when I use it with Html.TextBoxFor or Html.PasswordFor .

Is it possible to detect the state of CapsLock key on a Html.TextBoxFor and Html.PasswordFor using jQuery?

Community
  • 1
  • 1
  • 2
    what is Html.TextBoxFor - an element with ".textBoxFor" class? – Velimir Tchatchevsky Apr 14 '16 at 11:45
  • Possible duplicate of [Detect caps lock on/off using jQuery](http://stackoverflow.com/questions/2308895/detect-caps-lock-on-off-using-jquery) – root Apr 14 '16 at 11:46
  • 1
    @VelimirTchatchevsky I assume he is reffering to asp.net-mvc – empiric Apr 14 '16 at 11:49
  • May be helps.. http://stackoverflow.com/questions/348792/how-do-you-tell-if-caps-lock-is-on-using-javascript. – Yogesh Patel Apr 14 '16 at 11:51
  • Possible duplicate of [Detect caps lock on/off using jQuery \[duplicate\]](http://stackoverflow.com/questions/2308895/detect-caps-lock-on-off-using-jquery) – hmd Apr 14 '16 at 11:58

0 Answers0