来源:http://www.cnblogs.com/taven/p/3330125.html
<head>需要引用的文件:
<link href="../JS/EasyUi/easyui/themes/default/easyui.css" rel="stylesheet" type="text/css" />
<script src="../JS/jquery-1.4.2.min.js" type="text/javascript"></script>
<script src="../JS/EasyUi/easyui/jquery.easyui.min.js" type="text/javascript"></script>
<script src="../JS/jquery.iframeWin.js" type="text/javascript"></script>
<script type="text/javascript">
function openPage(id) {
$.iframe.win({
title: "窗口",
url: "Sub.aspx?id=" + id,
width: 400,
height: 550,
modal: true,
onClosed: function () {
alert("close");
}
});
}
</script>
弹出页面关闭代码:
Response.Write("<script>parent.$.iframe.close();</script>");