<iframe name="iframe1" width="100%" height="100%" frameborder="0" src="show_frame_ok2.asp id="show_frame"></iframe>upfilewin.iframe1.document.frames['frame1'].document.all.obj.value

解决方案 »

  1.   

    var upfilewin=window.open("b.htm","upfilewin","");
     upfilewin.document.iframe1.location="http://www.sina.com.cn";
      

  2.   

    对了<iframe id="iframe1" name="iframe1" width="100%" height="100%" frameborder="0" src="show_frame_ok2.asp></iframe>没有 id="show_frame"
      

  3.   

    upfilewin.frames("iframe1").document.formName.....
      

  4.   

    In a.htm=============
    <input onclick='alert(upfilewin.frames("iframe1").document.body.innerHTML)'
      

  5.   

    upfilewin.frames.iframe1
    upfilewin.frames.top.frames.iframe1
    upfilewin.iframe1
    upfilewin.document.iframe1
    upfilewin.frames("iframe1")
    ……
    上面的写法都对,问题不是出在这里,我打开b后,紧接着就对b(b中的iframe1)进行操作,但是iframe1着时候还没有加载完,于是怎么都出错,老问题了,参见帖子:http://expert.csdn.net/Expert/topic/1373/1373209.xml?temp=.5976374谢谢!