if(window.event.altkey&&window.event.ctrlkey){alert("")}

解决方案 »

  1.   

    <html><head><title>新建网页 1</title>
    <script language=Javascript>
    function document.onkeydown() 
    {
      if (window.event.altKey)&&(window.event.ctrlKey)){
      alert("禁止刷新页面");
      return false;}
    }
    </script></head><body></body></html>
      

  2.   

    <html><head><script language=Javascript>
    function document.onkeydown() 
    {
      if ((window.event.altKey)&&(window.event.ctrlKey)){
     alert("")
      return false;}
    }
    </script></head><body></body></html>
      

  3.   

    我是想屏蔽 ALT+TAB,而不是ALT+CTRL呀。
    是在某一页不让切换到另外的窗口。
      

  4.   

    <html><head><script language=Javascript>
    function document.onkeydown() 
    {
      if ((window.event.altKey)&&(window.event.keyCode==9)){
      alert("")
      return false;}
    }
    </script></head><body></body></html>tab的键值是9
      

  5.   

    TaskSwitching_Enable_Disable[b][/b]