同样的脚本在xp sp1下可用sp2就报错???请高手指点
xhlin 2007-01-19 11:01:40 我碰到了下面的问题
代码如下
String strHtml = "<script language=jscript>window.returnValue=window.showModalDialog('book_publisher2.aspx?" + Guid.NewGuid();
strHtml=strHtml+ "',window,'dialogWidth=645px;dialogHeight=660px;help:no;status:no;scroll:no');</script>";
Page.RegisterStartupScript("",strHtml+"<script language='javascript'>if(window.returnValue != null){window.close();}</script>");
在xp sp1下正常运行,xp sp2下就报错了,有高手能解决吗