zoukankan      html  css  js  c++  java
  • DWZ框架提示窗口调用

    提示窗口
    确认提示框
    alertMsg.confirm("您修改的资料未保存,请选择保存或取消!", {
     okCall: function(){
      $.post(url, {accountId: accountId}, DWZ.ajaxDone, "json");
     },
     cancelCall : function() {}
    });
    成功提示框,alertMsg.correct('您的数据提交成功!')
    错误提示框,alertMsg.error('您提交的数据有误,请检查后重新提交!', [options])
    警告提示框,alertMsg.warn('您提交的数据有误,请检查后重新提交!', [options])
    信息提示框,alertMsg.info('您提交的数据有误,请检查后重新提交!', [options])
    options对象属性:
    okName:确定按钮名称;
    okCal:确认按钮回调;
    cancelName:取消按钮名称;
    cancelCall:取消按钮回调;
    keyCode:键盘按键定义,参考DWZ.keyCode;

  • 相关阅读:
    background-clip与background-origin
    jquery判断一个元素是否为某元素的子元素
    Math.pow()实现开任意次方根
    vue基础点
    css3
    css系统学习
    angularJs
    jquery与JavaScript
    bootstrapt使用
    bootstrap
  • 原文地址:https://www.cnblogs.com/originate918/p/6369555.html
Copyright © 2011-2022 走看看