Solved

caps lock check

Posted on 2007-11-27
6
416 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

 
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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

What is Node.js? Node.js is a server side scripting language much like PHP or ASP but is used to implement the complete package of HTTP webserver and application framework. The difference is that Node.js’s execution engine is asynchronous and event…
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
Suggested Courses

617 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