var url = "${pageContext.request.contextPath}/group!findById.action?group.id="+idAll;
window.showModalDialog(url,null,"dialogwidth:850px;dialogheight:550px; toolbar=no,top=200,left=200, menubar=no, location=no, status=no");
window.location.href = "${pageContext.request.contextPath}/group!queryAll.action?pager.pageNumber=1";//关闭窗口刷新页面
本文介绍了一段使用JavaScript实现的窗口对话框功能及如何在关闭对话框后刷新当前页面的方法。具体包括通过 showModalDialog 方法打开对话框,并在对话框关闭后利用 window.location.href 重新加载页面。
927

被折叠的 条评论
为什么被折叠?



