Click here to Skip to main content
15,921,660 members
Please Sign up or sign in to vote.
3.50/5 (2 votes)
Hi,

I would like to warn user when they enters their password while capslock is ON,

Please anybody post me a link or code for it,

Thanks!
Siva.
Posted

Take a look at this

Detect Caps Lock with Javascript[^]

If you are looking for server side, below link is ref for custom control

http://www.4guysfromrolla.com/articles/051408-1.aspx[^]
 
Share this answer
 
v2
Here is one idea:
http://stackoverflow.com/questions/348792/how-do-you-tell-if-caps-lock-is-on-using-javascript[^].

You can warn the user when she/he already started typing, but this is already not too bad, especially because the user usually start typing from the user name.

—SA
 
Share this answer
 
 
Share this answer
 
v4

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900