在当前页设一个隐藏的iframe:
<iframe id=theIframe width=0 height=0></iframe>用 theIframe.location.href = "你要访问的另一页面";然后用 theIframe.document.body.innerHTML就是页面的内容了。

解决方案 »

  1.   

    必须用框架或opener建立关联,也可以用cookie
      

  2.   

    我以前看到过一篇文章是利用javascript发送头信息给web server,再接收web server返回的数据,但现在又找不到这篇文章了,不知道有那位DX知道吗?
      

  3.   

    用showModalDialog()
    例子:
    function doInsertTable(){
    var dotable=showModalDialog("editor_table.htm",false,"dialogWidth:200px;dialogHeight:156px;status:0;");
    if (dotable!=undefined){
    doc.body.innerHTML=doc.body.innerHTML+dotable;
    }else{
    return false;
    }
    }
    通过dotable返回另一页面的值