$(document).on('keydown', function(event) { if (event.key == "Escape") { alert('Esc key pressed.'); } }); Explanation: 在整个文档中,我们正在调用on方法,并将 ...
確定! 回上一頁