reloading ajax tab?

reloading ajax tab?


Q: I have a page with a bunch of tabs, including a tab with content
loaded via ajax.
That content has a button on it that performs its own ajax action
(example: lets say "publish document"). This action requires me to
reload that ajax content to display the updated display values
(different icon and other stuff)
How can I just tell that tab to "reload" from its source?
I'm currently mucking around with stuff like:
var $tabs = $(".ui-tabs-nav").tabs();
var sel_tab = $tabs.data('selected.tabs');
$tabs.tabs('select', sel_tab);
But it doesn't seem to do what I'm after.
Basically I'd like a 1 liner to the tabs to say "reload your current
tab if it's an ajax tab".
Any tips?
// SM