你想从一个FRAME中操作另一个FRAMEB的值吗??看看例子:
index.htm
==========
<frameset cols=50%,*>
<frame src=a.htm name=framea>
<frame src=b.htm name=frameb>
</frameset>a.htm
========
<input name=fa>b.htm
=======
<input name=b1><input type=button onclick="parent.framea.fa.value=b1.value" value=输入文字测试>

解决方案 »

  1.   

    年要是对frame操作,不要用opener!!!!
      

  2.   

    index.htm
    ==========
    <frameset cols=50%,*>
    <frame src=a.htm name=framea>
    <frame src=b.htm name=frameb>
    </frameset>a.htm
    ========
    <input name=fa>b.htm
    =======<input type=button onclick="parent.framea.location='http://lucky.myrice.com/down.htm'" value=测试1>
    <input type=button onclick="parent.framea.location='http://sina.com.cn'" value=测试2>
      

  3.   

    现在我就是要用到opener.document.location= 跳入另一框架!!
      

  4.   

    opener是打开新窗口的父窗口,这里没有办法用的
      

  5.   

    parent.frames('frameb').document.location = 'asfd.asp'不行吗