我无法关闭 jQuery 对话框。
以下是我的代码。
我有一个名为 academic.asp 的父页面,它将通过 jQuery 插件打开模态对话框。
我有一个名为 academic.asp 的父页面,它将通过 jQuery 插件打开模态对话框。
function openPopupDialog(location, windowTitle, heightValue, widthValue) {
var $dialog = $('#dialogWin').load('submission.asp')
.dialog({
autoOpen: false,
modal: true,
draggable: false,
resizable: false,
title: windowTitle,
width: widthValue,
height: heightValue
});
$dialog.dialog('open');
return false;
}
我的模态窗口将加载一个名为"submission.asp"的页面。
我将使用ajaxForm在我的模态窗口中进行一些提交,如下所示:paperForm = 我的表单名称
如何关闭模态窗口并刷新父页面?
提前感谢您的帮助 :)