Capturing Ctrl-Alt-Del in JavaScript/jQuery
- by AJ
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?