首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > JavaScript >

模态窗口禁缓存一问解决办法

2012-02-04 
模态窗口禁缓存一问当使用window.showModalDialog()方法打开模态窗口时,即使是我在主页面和模态页面同时加

模态窗口禁缓存一问
当使用window.showModalDialog()方法打开模态窗口时,即使是我在主页面和模态页面同时加入了 <meta   http-equiv= "cache-control "   content= "no-cache "> 的情况下,模态窗口依然使用缓存。刚更新的内容就看不到,郁闷至极,各位大侠有什么办法么,指点一下吧!!!!!多谢


[解决办法]
url上加个时间戳。用js跳转。 url= "xxx.htm? " + escape(new Date());

热点排行