关于showModalDialog的缓存

来源:互联网 发布:php系统毕业设计 编辑:程序博客网 时间:2024/04/30 01:29

在B/S 项目开发中,经常要用到showModalDialog以便弹出画面,但是默认情况下这个画面会保留有缓存,所以我们要声明给他清掉,因此,在在 <head></head>里面加入

<meta http-equiv='pragma' content='no-cache'>
<meta http-equiv='cache-control' content='no-cache'>

原创粉丝点击