$(document).on('keydown',function(e){
e = e.event || window.event;
if(e.keyCode == 123 || (e.ctrlKey&&e.shiftKey&&e.keyCode==73) || (e.ctrlKey&&e.keyCode==85)) return false
})
$(document).on('keydown',function(e){
e = e.event || window.event;
if(e.keyCode == 123 || (e.ctrlKey&&e.shiftKey&&e.keyCode==73) || (e.ctrlKey&&e.keyCode==85)) return false
})
本文标题:javascript 禁止键盘特定键
本文链接:https://www.haomeiwen.com/subject/maondhtx.html
网友评论