var _t;
        window.onbeforeunload = function()
        {
            Ext.MessageBox.wait('請稍後...', '消息');
            setTimeout(function(){_t = setTimeout(onunloadcancel, 0)}, 0);
            return "您確定要退出嗎?";
        }


        window.onunloadcancel = function() {
            Ext.MessageBox.hide();
            clearTimeout(_t);
        }

 

相关文章:

  • 2022-12-23
  • 2021-06-12
  • 2022-12-23
  • 2022-12-23
  • 2021-11-22
  • 2021-11-04
  • 2021-08-19
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-01-25
  • 2022-12-23
  • 2021-12-16
  • 2021-12-14
  • 2022-12-23
  • 2022-01-01
相关资源
相似解决方案