操作鍵盤Esc鍵觸發的事件
//Esc鍵
$(document).keyup(function(e){
var key = e.which || e.keyCode;;
if(key == 27){
$('#head_wrap .show-msg').eq(0).addClass('active').siblings().removeClass('active');
ktapi.i_stopCmd();
}
});
操作鍵盤Esc鍵觸發的事件
//Esc鍵
$(document).keyup(function(e){
var key = e.which || e.keyCode;;
if(key == 27){
$('#head_wrap .show-msg').eq(0).addClass('active').siblings().removeClass('active');
ktapi.i_stopCmd();
}
});