liger 的 ligerDialog 的使用。

        /// 查看页面,跳出一个新的添加窗口
function AddMessage() { $.ligerDialog.open({ url: UrlAddMessage, height:
500, 800, title: "AddMsg", isHidden: true }); }
/// 添加页面,保存后,刷新查看页面的数据
      $.post(UrlAddMessge, { Title : Title,Users : Users, Content : Content},
            function (data) {
                if (data.result) {
                    $.ligerDialog.success("保存成功!");
                    window.parent.$("#maingrid").ligerGrid().reload();
                } else {
                    $.ligerDialog.error(data.msg);
                }
            }); //post
原文地址:https://www.cnblogs.com/starluck/p/3981681.html