For some strange reason, I can't fix the Ctrl+ Alt+ key combination Arrowinside textarea. Is this some kind of system hotkey that is swallowed by Windows? Ctrl+ Alt+ Any Letterand Ctrl+ Alt+ Shift+ Arrowwill receive a penalty.
$(document).ready(function() {
$("textarea").bind("keydown", function(event) {
console.log(event);
if(event.altKey && event.ctrlKey && event.which == 38) {
console.log("ctrl+alt+up");
}
});
});
When I click Ctrl+ Alt+, Any LetterI see all 3 events in the console. When pressed Ctrl+ Alt+ Arrow, I see only 2 events (for Ctrland Alt).
Any ideas?
source
share