in DHTML, 在子窗口的左面帧 to access父窗口左面帧的参数, try
parent.opener.top.frames[0].document.....在子窗口右面帧to access父窗口右面帧, try
parent.opener.top.frames[1].document.FormName.TextName.value = "whateverhere";

解决方案 »

  1.   

    如果我用这个:
    var newwin=window.open("navoutterperson.do?outterunitid="+outterunitid,"","menubar=no,scrollbars=yes,width=300,height=300,resizable ");在父窗口右面的帧页面提交参数打开子窗口,如何让子窗口左面帧接收传递的参数?
      

  2.   

    either
    <frameset cols="300,*">
     <frame src="left.html?outterunitid=<%=request.getParameter("outterunitid")%>" name="leftf">
     <frame src="right.html" name="rightf">
    </frameset>or
    <frameset cols="300,*" onload="start()">
     <frame src="" name="leftf">
     <frame src="right.html" name="rightf">
    </frameset>
    <script language="javascript">
    function start()
    {
      frames["leftf"].location.href = "left.html"+location.search; 
    }
    </script>