nw=window.open("yourlocation");
message=nw.document.body.innerText;
不知道message是不是你想要的东西呢?

解决方案 »

  1.   

    多谢,我是想要的是关闭窗口,原窗口只要取得收件人的信息,就是<option>的 value 和name.
      

  2.   

    可以在弹出窗口的unload事件里面加上
    window.open("parentlocation","_parent");
      

  3.   

    a.htm代码:
    <span id=spanid></span>
    <script>
    window.open('select.htm');
    </script>select.htm代码:
    <select name=rc onchange="window.opener.spanid.innerText=this.options[this.selectedIndex].value;window.close();">
    <option value=rc1 selected>rc1</option>
    <option value=rc2>rc2</option>
    </select>另,如果你在a.htm里面为弹出窗口返回了对象实例,也可以不用window.opener,直接用实例名就可以了。
      

  4.   

    opener是打开这个窗口的窗口的对象