62,046
社区成员
发帖
与我相关
我的任务
分享
function RefreshParentWindows()
{
if (window.opener != null)
{
window.opener.document.getElementById("btnSearch").click();
window.close();
}
}
</script>
function ShowDialog(url)
{
var iWidth=300; //窗口宽度
var iHeight=200;//窗口高度
var iTop=(window.screen.height-iHeight)/2;
var iLeft=(window.screen.width-iWidth)/2;
vReturn=window.showModalDialog(url,window,"dialogHeight: "+iHeight+"px;dialogWidth: "+iWidth+"px;dialogTop: "+iTop+";dialogLeft: "+iLeft+"; resizable: no; status: no;scroll:no");
}
window.dialogArguments.location.reload()