用window.showModalDialog弹出的网页对话框总是缓存网页内容,在head标签里加入:
<META http-equiv="pragma" content="no-cache"> <META http-equiv="Cache-Control" content="no-cache"> <META http-equiv="expires" content="0">
即可。