jQuery,ctrl+enter组合事件
<script type="text/javascript" > jQuery(document).keypress(function(e){ if(e.ctrlKey && e.which == 13 || e.which == 10) { } else if (e.shiftKey && e.which==13 || e.which == 10) { //要执行的操作 } }) ie判断e.which == 10 其他浏览器判断 e.which == 13 </script>