var mm=window.open('child.jsp','test','height=450,width=400');
用mm.document

解决方案 »

  1.   

    你的方法我用不了,子窗口我是在<body onload=>中打开的,但是我在提交父出口页面时怎样能得到呢?
      

  2.   

    <body onload=fun1()>
    var aa;
    function fun1(){
      var mm=window.open('child.jsp','test','height=450,width=400');
      aa=mm.document.text1
    }function funSubmit(){
       var b=aa;
    }
      

  3.   

    baiyunfei(虚度残生) 的方法可行。
      

  4.   

    可以的啊,参考。
    <script>
    var mm;function tt()
    {
    mm=window.open("3.htm");
    }
    function yy()
    {
    alert(mm.document.all.gname.value);
    }
    </script>
    <BODY onload="tt()">
    <input type=button onclick=yy() ID="Button1" NAME="Button1">
      

  5.   

    用父窗口开启的子窗口有着同样的session值?
    能否改变子窗口的session值呢?
      

  6.   

    http://adandelion.cnblogs.com/archive/2005/10/26/262666.aspx子窗口的Session值直接改就可以啊.
      

  7.   

    是的,相同
    对Session重新赋值即可改变,