代码如下:var iframe = $("var url = encodeURI(encodeURI("/webroot/decision/view/report?viewlet=设置弹框.frm"));iframe.attr("src", url); // 给 iframe 添加 src 属性 var o = {width: 480, //对话框宽度 height: 300, //对话框高度 confirm:true//是否添加确认取消按钮,默认false};FR.showDialog("设置条件", o.width, o.height, iframe, o); //弹出对话框--------这个点击确定或者取消后函数,应该在上面那段代码哪里写啊?function(value) {if (value) {alert("即将删除!");} else {alert("取消删除!");}}