当前位置:Gxlcms > JavaScript > JavaScript对话框jsdialog

JavaScript对话框jsdialog

时间:2021-07-01 10:21:17 帮助过:1人阅读

20120301085946697.png

function ShowCallBack(opt) {
opt.obj.close();
}

function ShowAlert()
{
var pop=new txooo.ui.Popup({ contentType:4,isReloadOnClose:false,width:340,height:100});
pop.setContent("title","alert警告框示例");
pop.setContent("alertCon", "alert对话框内容");

pop.setContent("callBack", ShowCallBack);
pop.setContent("parameter", { id: "divCall", str: "点击确定后显示的字符串", obj: pop });

pop.build();
pop.show();
}

人气教程排行