Search code examples
jqueryjquery-uijquery-ui-tabs

jQuery UI Tabs -- Can the 'cache' option be applied on a per-tab basis?


I'm working on a tabbed UI using jQuery UI AJAX tabs. Some tabs (tabs which are read-only) need to refresh automatically whenever the user leaves and returns to them, while others (tabs which contain forms) should only load once and not refresh when returned to.

Is it possible to specify that a single tab should cache it's AJAX contents while others continue to be non-cached?


Solution

  • Check out this question: JQuery UI Tabs caching

    The answer was never accepted, but it looks solid and handles pretty much exactly what you're looking for.