window.opener的怪问题?
在A.jsp中提交数据到C.jsp中,由于速度很慢,就调用了滚动条页面B.html;
代码如下:
A.jsp
-----------------
<html>
<body>
<form name=frm action="">
<input type=hidden name=mimi value="secretA">
<input type=button onclick="submitA2C()">
</form>
</body>
<script>
function submintA2C(){
document.frm.action="C.jsp"
document.frm.submint;
childWin = window.open('B.html');
}
</script>
<html>
C.jsp
-------------------
<html>
<body>
<form name=frm action="">
<input type=hidden name=mimi value="secretC">
</form>
</body>
</script>
<html>
-------------------------------
为什么我在B.html(该页面作用是显示进度条)中循环调
用=window.opener.document.frm.mimi.value,刚开始得到的是A.jsp中的secretA
接着就是C.jsp中的secrectC ;
难道一个窗口的window.opener还有几个?
搞了好久搞不懂,帮忙!