jQuery: The Write Less, Do More JavaScript Library

Re: jQuery UI Ajax tabs: content not refreshing in IE6 - cache problem?

by James-279 :: Rate this Message:

Reply to Author | View in Thread


There's an option to set cache to false for tabs.
$('.selector').tabs({ cache: false });

Also, set your cache in AJAX options to false so the AJAX requests are
not cached.
http://docs.jquery.com/Ajax/jQuery.ajaxSetup

On Jul 2, 3:23 am, kyleduncan <kyledun...@...> wrote:

> I am using the Ajax method to load tabs using jQueryUI's tab
> functionality. these work fine in all browsers except IE6, where once
> an Ajax tab has been loaded (the tab links to a Django .html template
> file) it WILL NOT reload unless you clear out IE6's cache totally.
> this is particularly problematic for me because the tabs are loading
> different parts of our site's messaging system, so it makes it
> impossible to see new messages when they arrive.
>
> I'm loading tabs using the simple $(selector).tabs(); code, is there
> something else i can add to force IE6 to get a new version of the
> content every time it's clicked on?
>
> thanks for any help anybody can give!

 « Return to Thread: jQuery UI Ajax tabs: content not refreshing in IE6 - cache problem?