zoukankan      html  css  js  c++  java
  • easyui-window 关闭事件,只要关闭窗口就会触发

    $(function () {
                $('#windowsMSG').window({
                    onBeforeClose: function () { //当面板关闭之前触发的事件
                        if (confirm('窗口正在关闭,请确认您当前的操作已保存。 是否继续关闭窗口?')) {
                            $('#windowsMSG').window('close', true); //这里调用close 方法,true 表示面板被关闭的时候忽略onBeforeClose 回调函数。
                        } else
                            return false;
                    }


                });
            });

  • 相关阅读:
    利用shell脚本实现免密认证
    利用shell脚本实现https证书认证
    高级sed命令
    Zabbix自定义监控
    Zabbix三种邮箱告警配置
    Zabbix配置
    监控服务Zabbix部署
    Ftp
    Samba
    NFS
  • 原文地址:https://www.cnblogs.com/soundcode/p/5627389.html
Copyright © 2011-2022 走看看