Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


caps lock check

Posted on 2007-11-27
Medium Priority
Last Modified: 2013-11-19

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
Question by:eaweb
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
LVL 21

Accepted Solution

nizsmo earned 2000 total points
ID: 20360112

Expert Comment

ID: 20360130

Expert Comment

ID: 20360138
bleh.. i take that one back.. it sucks.
it says caps lock is on even if you use the shift key.
Build and deliver software with DevOps

A digital transformation requires faster time to market, shorter software development lifecycles, and the ability to adapt rapidly to changing customer demands. DevOps provides the solution.

LVL 21

Expert Comment

ID: 20360263
From my previous post, this one works good:

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.

Author Comment

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

Expert Comment

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.

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

715 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