Solved

caps lock check

Posted on 2007-11-27
6
408 Views
Last Modified: 2013-11-19
hi,

does someone have a javascript code that checks if caps lock is on and displays a message balloon like windows does when your are going to insert a password and the caps lock is on?
i need it to apear everytime, but one time when the password input box has the focus and when clicking on the balloon the message disapears.

thanks in advance
0
Comment
Question by:eaweb
  • 3
  • 2
6 Comments
 
LVL 21

Accepted Solution

by:
nizsmo earned 500 total points
ID: 20360112
0
 
LVL 6

Expert Comment

by:starfailure
ID: 20360130
0
 
LVL 6

Expert Comment

by:starfailure
ID: 20360138
bleh.. i take that one back.. it sucks.
it says caps lock is on even if you use the shift key.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 21

Expert Comment

by:nizsmo
ID: 20360263
From my previous post, this one works good:
http://www.csua.berkeley.edu/~jgwang/capslock.htm

even with the shift key (ie it doesn't confuse between shift and caps lock!)
but the latter one has the same problem as starfailure mentioned.
0
 

Author Comment

by:eaweb
ID: 20360422
yes the code is ok, but isnt there a way to let a message balloon apear like windows style?
0
 
LVL 21

Expert Comment

by:nizsmo
ID: 20360515
That I am not sure, I haven't seen it on any webpages before, but I suspect (if it can be done) needs a bit of styling and javascript coding to get the desired effect.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preface This article introduces an authentication and authorization system for a website.  It is understood by the author and the project contributors that there is no such thing as a "one size fits all" system.  That being said, there is a certa…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now