This is already taken care of. Tabs support an ajaxOptions option
which mirrors the options you can pass to $.ajax. And there you have a
cache option, which needs to be set to false to automatically add a
timestamp to each xhr request:
$('#foo').tabs({ ajaxOptions: { cache: false } });
http://docs.jquery.com/UI/Tabs/tabs#options
http://docs.jquery.com/Ajax/jQuery.ajax#options
--Klaus
justageek schrieb:
> Hi, I built a nice little app with UI tabs, it is awesome!
>
> But, in IE, many users don't know how to adjust their cache settings,
> and the tab loading will show data that has really been deleted from
> the database (php/mysql backend, not that it matters).
>
> For any custom js functions I have built that load tabs, I am
> appending a timestamp if I detect IE, is there a way to hijack the
> built-in tab load function and append a time stamp?
>
> Brian
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---