Feb 2
By: Curt Gratz
I ran into an interesting issue using the jQuery UI tabs ajax style and Internet Explorer.
If you setup the tabs with the with the cache turned off, they will still be cached in IE. I had worked around this issue by adding a counter that changed every time to my href for the tab, but I found a more elegant solution and thought I would share.
$(document).ready(function(){
$("#tabs").tabs({
spinner: 'Loading...',
cache: false
});
});
The solution for this is to not only set the cache to false, but also to use the ajax options and set cache to false there also. So the code would change to this...
$(document).ready(function(){
$("#tabs").tabs({
spinner: 'Loading...',
cache: false,
ajaxOptions: {cache: false}
});
});
Categories

Archives
Advertise With Us
Team ColdBox
Photos
Jul 19, 2010 at 5:40 AM Ok, but in which context? Are you using coldbox 3, coldbox 2.6.4 or? Are you using CF8 Server, CF7 or OpenBD or are you just using JQuery and IE?
Jul 19, 2010 at 5:56 AM Not a ColdBox or ColdFusion issue at all. It is purely an IE and jQuery issue. IE 6,7 & 8 and jQuery 1.3.2.
Curt