window.showModalDialog会有缓存,导致第二次不进入pageload,解决方法:跟一个随机的参数:
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博客,转载请标明出处:http://blog.csdn.net/Mr_Von/archive/2009/04/29/4136273.aspx