I need to capture an Enter Key press at any time anywhere on a logon page. It will initiate a logon attempt.
Using jQuery, how would I accomplish this? And would I l
The keydown event is fired when a key is pressed down. The keypress event is fired when a key is pressed down and that key normally produces a character value.
$(document).keydown( function(event) { if (event.which === 13) { // login code here } });