window.showModalDialog會有緩存,導(dǎo)致第二次不進入pageload,解決方法:跟一個隨機的參數(shù):
var time =new Date();
var iWidth=840;
var iHeight=350;
var retval = window.showModalDialog('CustomerChargeDetail.aspx?HouseID=' + HouseParam+"&time="+time,'son','dialogwidth:'+iWidth+'px;dialogheight:'+iHeight+'px;help:no;status:no;scroll:directories:no;scrollbars:no;Resizable=no;')
或者:
<head></head>里加<meta http-equiv="Pragma" content="no-cache">
本文來自CSDN博客,轉(zhuǎn)載請標明出處:http://blog.csdn.net/Mr_Von/archive/2009/04/29/4136273.aspx