JavaScript对话框 jsdialog
程序员文章站
2022-04-06 13:33:33
...
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();
}
上一篇: Linux 常用命令技巧收藏
推荐阅读