title: Is it possible to detect if 'capslock is on' in a click event in jquery?
body: <p>I would like to know if it is possible to detect the state of caps lock key using jquery and without any key press. </p>
  
  <p>Let me be more clear. I have a password field. When I just click on it or when the password field is on focus, I need to display a warning message if the caps lock is on (similar to windows login). I know about the method of comparing character codes, but that is not what i need. </p>
  
  <p>This is for a Yii application. So if it have any default function to check caps lock state, please let me know.</p>
  
  <p>Any help will be highly appreciated..! </p>
  
  <p>Thanks..! </p>