且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

jQuery的.load()在所有IE版本中的问题

更新时间:2023-11-29 20:39:58

我相信这是一个缓存的问题。

I believe it is a caching issue..

由于URL是一样的当前显示的页面,IE浏览器使用缓存(所有的页面的),并将其插入在#内容 DIV ..

Since the url is the same as the currently displayed page, IE uses the cache (with all the page) and inserts it in the #content div ..

尝试添加时间戳的 .load()要求

.load($ page_url,{非高速缓存:新的Date()的getTime()},函数(){..})