From :
父窗口中定义了如下的div和iframe
<div class="hide" style="overflow: hidden;" id="divdialog">
<iframe src="" style="width: 100%; border: 0px; height: 100%; overflow:hidden;" allowtransparency="true" frameborder="0" scrolling="no"></iframe></div>
<tr id="<%#Eval("ID")%>" οndblclick="showDialog('XXX', '/child.aspx',800,685, function() { document.location.reload(); })">
// 打开Dialog
function showDialog(title, url, width, height, close) {
$("#divdialog iframe").attr("src", url); $("#divdialog").dialog({ modal: true, title: title, width: width, height: height, show: 'fade', hide: 'fade', resizable: false, close: close });}
在子窗口中调用如下的js进行关闭这个弹出的jquery ui dialog
window.parent.$("#divdialog").dialog("close");
Baidu :