frame没有指定name,但opener应该可以用才对。

解决方案 »

  1.   

    我得可以拿到,看看是不是其它地方出问题了index.htm
    ------------------------------
    <BODY BGCOLOR="#FFFFFF">
    <IFRAME src="a.htm"></IFRAME>
    </BODY>a.htm
    -----------------------------
    <BODY>
    <INPUT type="text" id="txt" value="test">
    <INPUT type="button" value="open" onClick="window.open('b.htm')">
    </BODY>b.htm
    -----------------------------
    <BODY onLoad="alert(opener.document.all.txt.value)">
    </BODY>
      

  2.   

    我在html中测试可以的,可是我用.net的webform就不行