$(document).on('keydown', function(e) {
if (e.shiftKey) {
$('body').append('test1');
}
});
$(document).on('keyup', function(e) {
if (e.shiftKey) {
$('body').append('test');
}
});
キーアップはトリガーされませんが、キーダウンはトリガーされます。なぜですか?