日期:2014-05-16  浏览次数:20311 次

javascript 检测是否按下ctrl 或 alt

if(event.ctrlKey||event.altKey){
??????? //alert( "ctrl键或alt键被按下 ");
??return false;
??? }