<input id=mxh value="father win">new.htm
<script>
alert(opener.document.all.mxh.value)
父调用子窗口
childwinobjName.document.all.ids.属性
<script>
alert(opener.document.all.mxh.value)
父调用子窗口
childwinobjName.document.all.ids.属性
fa.htm
========
<HTML>
<body>
<script>
var childwin=window.open("ch.htm")
</script>
<p id=mxh>父窗口测试 </p>
<input value=子窗口的内容 type=button onclick="alert(childwin.document.all.mxh.innerText)">
</HTML>ch.htm
=========
<HTML>
<p id=mxh>子窗口测试 </p>
<input value=父窗口的内容 type=button onclick="alert(window.opener.document.all.mxh.innerText)">
</HTML>
是通过窗口的属性opener吗?