开发者

IE8 getJSON cached data

Simply one really. IE8 is caching my data so it works first time but not afterwards. I need to stop it using cached dat开发者_Python百科a when i call getJSON?

P.S Im currently debuging my site in IE so expect lots of posts from me :) Thanks for all that have helped so far truely are a great help!


Call this before your .getJSON call:

$.ajaxSetup({ cache: false });


You can send an HTTP header to disable caching from your server-side script.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜