除去缓存

IE的showModalDialog方法,缓存很是头疼

在方法调转的页面加入

  <meta http-equiv="pragma" content="no-cache">

<meta http-equiv="cache-control" content="no-cache">

<meta http-equiv="expires" content="0">    

也不管用啊

最后,在页面的请求地址里,加入时间戳才可以

 

var timeD = new Date();

            var params = "?issueNo="+1+"&checkId="+2;

            window.showModalDialog("<%=request.getContextPath()%>/jsp/estiscore/card_weight_set.jsp?time="+timeD,window,"dialogHeight=600px;dialogWidth=900px;scroll:no");

猜你喜欢

转载自zengshaotao.iteye.com/blog/2316934