现有主界面form1.aspx在form1.aspx打开一个模态窗口show1.aspx在show1.aspx再打开另一个模态窗口show2.aspx如何将show2.aspx的传给show1.aspx并更新show1.aspx页面现在值已传过去,但是页面刷新一直是打开一个新页面。有什么办法解决?我现在的方法是判断值是否为空,然后window.location跳转页面,一直跳出新窗口。<base target="_self" /> 我也加了。
解决方案 »
- 截取数据库名字
- 求一用于web的combox,且输入一部分能找到匹配的,且输入值必须是combox中的数据,且自动跳到combox中的数据
- div控件可以作为服务器控件使用吗,变成服务器控件后还可以用于javascript吗?
- 求教下限制必须选择CheckBoxList中的一项的问题
- http://www.cnblogs.com/flypinging/archive/2007/10/31/943775.html请问2007/10/31/943775.html这样子是如何url重写的.
- 在web.config里,如何写数据库链接语句
- HTML的编辑器入库的问题
- 谁给我个PET SHOP的源代码
- 求助高手解围,急!!!
- 大侠们,急急急!在线
- 关于js如何获取<div>和<ul>的高度并选择性隐藏<p>
- 大家感觉EF如何
<script type="text/javascript">
function openBrWindowInCentre(theURL,width,height) {
var left, top;
left = (window.screen.availWidth - width) / 2;
top = (window.screen.availHeight - height) / 2;
var per = 'width=' + width + ',height=' + height + ',left=' + left + ',top=' + top + ',screenX=' + left + ',screenY=' + top;
window.open(theURL,'',per);
}
</script>
<a href="javascript:void(0)" onclick="openBrWindowInCentre('child.html','600','400');">打开子窗口</a> 2. 子窗口
< script language="JavaScript" type="text/javascript">
< !--
function refreshParent() {
window.opener.location.href = window.opener.location.href;
if (window.opener.progressWindow)
{
window.opener.progressWindow.close();
}
window.close();
} //-->
< /script> < a href="javascript:void(0)" onclick="refreshParent()">刷新父窗口并关闭当前窗口</a>
window.open(url, "__self")
完美解决多层模态传参和更新当层模态。