那只能重新探出b.htm  ,之前一定要把以前的关掉啊

解决方案 »

  1.   

    var hwnd=window.open('','','');
    var strValue="Value";
    hwnd.document.write("<input type=text value='"+strValue+"'>");
      

  2.   

    如果要动态请求ASP数据可以
    function GetData(strURL)
    {
    var xmlHttp=null;
    var strData="";
    try
    {
    xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
    //xmlHttp.open("POST",strURL,false);
    xmlHttp.open("GET",strURL,false);
    xmlHttp.send();
    strData=xmlHttp.responseText;//接受服务器输出的字符串.
    }
    catch(e)
    {
    window.confirm(e);
    }
    xmlHttp=null;
    return strData;
    }
    来获取数据
      

  3.   

    使用httpxml就可以了,在b.htm中调用a.html传入的,或者其他页传入的
    聊天室无刷新就是使用这种方法