javascript - Is it possible to detect if 'capslock is on' in a click event in jquery? -


i know if possible detect state of caps lock key using jquery , without key press.

let me more clear. have password field. when click on or when password field on focus, need display warning message if caps lock on (similar windows login). know method of comparing character codes, not need.

this yii application. if have default function check caps lock state, please let me know.

any highly appreciated..!

thanks..!

in javascript in browser, either have solution based on provided browser in standard api or don't.

in case, there no direct access state of keyboard answer no : can't better displaying message when user hit key.


Comments

Popular posts from this blog

php - cannot display multiple markers in google maps v3 from traceroute result -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -