我在模态窗口中打开了另外一个模态窗口,第二个模态窗口中得某按钮弹出一个确认框,我想点击确认时两个模态窗口同时关闭。
ClientScript.RegisterStartupScript(this.GetType(), "", "<script>alert('成功!');window.returnValue = '0';window.close();</script>");
这样只能把第二个模态窗口关闭
ClientScript.RegisterStartupScript(this.GetType(), "", "<script>alert('成功!');window.returnValue = '0';window.close();</script>");
这样只能把第二个模态窗口关闭
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货