PopupDialogModelWindow模态窗口类
序号 | 函数名称 | 返回值 | 函数说明 |
1 | PopupDialogModelWindow(width) | 无 | 弹出模态窗口 |
2 | PopupDialogModelWindowSetTitle(title) | 无 | 设置模态窗口标题 |
3 | PopupDialogModelWindowSetContent(content) | 无 | 设置模态窗口内容 |
4 | ClosePopupDialogModelWindow() | 无 | 关闭模态窗口 |
PopupDialogModelWindow示例:
1、弹出模态窗口
函数:PopupDialogModelWindow(width)
width:宽度,可以不传值
返回: 无
PopupDialogModelWindow(); PopupDialogModelWindowSetTitle("更改组织部门"); PopupDialogModelWindowSetContent("<div id='ChangeAgencyIDDepartmentIDDIV' class='Padding10' style='padding-top:0px;'></div> <div class='Padding10' style='margin-top:20px;'><button type=\"button\" class=\"btn btn-primary\" onclick='PublicCustomerInfoClass.ChangeAgencyIDDepartmentID()' style='margin-right:5px;'>确定</button><button type=\"button\" class=\"btn btn-outline btn-default\" onclick='ClosePopupDialogModelWindow()'>取消</button></div>");
2、 设置模态窗口标题
函数:PopupDialogModelWindowSetTitle(title)
title:窗口标题
返回: 无
3、 设置模态窗口内容
函数:PopupDialogModelWindowSetContent(content)
content:窗口内的HTML代码
返回: 无
4、关闭模态窗口
函数:ClosePopupDialogModelWindow()
返回:无