window.open 把_self改成_blankwindow.open("C.aspx","_blank","toolbar=yes,location=yes,directories=yes,menubar=yes,resizable=yes",true); 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 看来星星们都说了不能了,就照幕白兄的思路做吧!不关也得MoveTo(十万八千里) sorry看错了,可以打开新窗口,然后关闭B窗口window.open('../workonline/main.aspx',null,'top=160,left=190,width=645,height=411,status=yes,resizable=yes');window.close();window.opener.close();</script>") 不可以,只是可以在B窗口打开另外的文件,但改变状态确实不可以,先打开C窗口,然后关闭B窗口吧,这样就可以达到你想要地效果了。 http://www.csdn.net/develop/Read_Article.asp?Id=15113http://expert.csdn.net/Expert/topic/2001/2001793.xml?temp=.1702082http://expert.csdn.net/Expert/topic/1911/1911975.xml?temp=.4667322关于模态窗口(showModalDialog)的专题讨论!1.模态窗口的打开2.模态窗口的关闭3.模态窗口的传递参数。4.其他。1.window.showModalDialog("DialogPage.aspx","newwin","dialogHeight: 200px; dialogWidth: 150px; dialogTop: 458px; dialogLeft: 166px; edge: Raised; center: Yes; help: Yes; resizable: Yes; status: Yes;");2.window.close();3.传值ParentPage.aspx:window.showModalDialog("DialogPage.aspx?para1=aaa¶2=bbb");DialogPage.aspx:string str1=Request.QueryString["para1"].toString();string str2=Request.QueryString["para2"].toString();返回值DialogPage.aspx:window.returnValue="aaa";ParentPage.aspx:var str=window.showModalDialog("DialogPage.aspx");4.aspx页面在showmodeldialog情况下为什么一提交就重新打开一个页面?showmodaldialog打开的页面中在<head></head>之间加入一行:<base target="_self"> 在本地运行正常。在服务器上运行就报错求解决 .net 获取前一页面url,说简单也不简单 关于递归的问题,请教各位大虾???? 笨问题 我是初学者不知有哪个网站或书可以 比较好去学。ASP。NET 如何在代码中取得控件的位置坐标 如何自己经营一个网站 请各位大侠推荐几本关于xml,java比较好的书 [馨郁星愿]网上发传真,怎么发?Faxcomlib.dll 如何解决”为应用程序池“oa”提供服务的进程在启动时超出了时间限制。该进程 ID 为“7952”这样的问题? 如何将修改页面与添加页面合并成一个页面??在线等待 写文件被拒绝!请看看是怎么回事!
可以打开新窗口,然后关闭B窗口
window.open('../workonline/main.aspx',null,'top=160,left=190,width=645,height=411,status=yes,resizable=yes');window.close();window.opener.close();</script>")
先打开C窗口,然后关闭B窗口吧,这样就可以达到你想要地效果了。
http://expert.csdn.net/Expert/topic/2001/2001793.xml?temp=.1702082
http://expert.csdn.net/Expert/topic/1911/1911975.xml?temp=.4667322关于模态窗口(showModalDialog)的专题讨论!
1.模态窗口的打开
2.模态窗口的关闭
3.模态窗口的传递参数。
4.其他。
1.window.showModalDialog("DialogPage.aspx","newwin","dialogHeight: 200px; dialogWidth: 150px; dialogTop: 458px; dialogLeft: 166px; edge: Raised; center: Yes; help: Yes; resizable: Yes; status: Yes;");2.window.close();3.传值
ParentPage.aspx:
window.showModalDialog("DialogPage.aspx?para1=aaa¶2=bbb");DialogPage.aspx:
string str1=Request.QueryString["para1"].toString();
string str2=Request.QueryString["para2"].toString();返回值
DialogPage.aspx:
window.returnValue="aaa";ParentPage.aspx:
var str=window.showModalDialog("DialogPage.aspx");4.
aspx页面在showmodeldialog情况下为什么一提交就重新打开一个页面?
showmodaldialog打开的页面中在<head></head>之间加入一行:<base target="_self">