这样打开一个word文档,然后浏览器后退,再打开该文档时报错:cannot access document when in modal condition 不知道怎么个情况,用的ie6的浏览器,哪位给解释一下吧 s = ""; s += "<OBJECT id='DSOFramer' align='middle' style='LEFT: 0px;WIDTH: 100%;TOP: 0px;HEIGHT: 100%'"; s += "classid=clsid:00460182-9E5E-11D5-B7C8-B8269041DD57 codeBase=DSOFramer.ocx#Version=2,2,0,6' >"; s += "<PARAM NAME='_ExtentX' VALUE='16960'>" s += "<PARAM NAME='_ExtentY' VALUE='13600'>" s += "<PARAM NAME='BorderColor' VALUE='-2147483632'>" s += "<PARAM NAME='BackColor' VALUE='-2147483643'>" s += "<PARAM NAME='ForeColor' VALUE='-2147483640'>" s += "<PARAM NAME='TitlebarColor' VALUE='-2147483635'>" s += "<PARAM NAME='TitlebarTextColor' VALUE='-2147483634'>" s += "<PARAM NAME='BorderStyle' VALUE='0'>" s += "<PARAM NAME='Titlebar' VALUE='0'>" s += "<PARAM NAME='Toolbars' VALUE='1'>" s += "<PARAM NAME='Menubar' VALUE='0'>" s += "</OBJECT>"; document.write(s); url = "http:"+url; //window.open(url); document.all.DSOFramer.Open(url,true,"Word.Document","sanxia","sisesdust");