top.Atext
top.B.Btext
-
top.FormA.Atext
top.B.FormB.Btext

解决方案 »

  1.   

    没看懂!!!!呵呵~页面文件内容如下:我该怎么互相访问两个页面中的输入框:
    A页面:
    <form name="form1" method="post" action="">
      <input type="text" name="Atext">
    </form>
    <iframe name="ad" frameborder=0 width=100% height=24 scrolling=no src=B.htm>
    </iframe>
    B页面:
    <form name="form1" method="post" action="">
      <input type="text" name="Btext">
    </form>
      

  2.   

    在a.htm中 访问b.htm的text用self.document.frames['ad'].document.form1.Btext.value
    在b.htm中....   用
    self.top.document.form1.Atext.value