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

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

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -