Capturing Ctrl-Alt-Del in JavaScript/jQuery
Posted
by AJ
on Stack Overflow
See other posts from Stack Overflow
or by AJ
Published on 2010-05-11T03:08:25Z
Indexed on
2010/05/11
3:14 UTC
Read the original article
Hit count: 306
JavaScript
|jQuery
While just playing with jQuery/JavaScript I ran across this problem. I could capture Alt
and Ctrl
keys but NOT Del
and certainly not all of them together.
$(document).ready(function() {
$("#target").keydown(function(event) {
if (event.ctrlKey && event.altKey && event.keyCode == '46') {
alter("Ctrl-Alt-Del combination");
}
});
});
Is it possible to capture all these three keys together?
© Stack Overflow or respective owner