I'm completely puzzled, I make an ajax call inside a Jquery UI Tab, after that I want to refresh the content of the tab, the function that should be doing it is:
function reloadTab(){
var $tabs = $('#tabs').tabs();
var selected = $tabs.tabs('option', 'selected');
$tabs.tabs('load', selected);
return false;
}
Incredible but true it doesn't work at all, since this:
$tabs.tabs('select', selected);
Wouldn't work either I thought it was an issue with not being able to reload a tab, and this is what I found out:
'select' works only to select a different tab than the current one while load doesn't work at all.
I also tried the solution posted here: http://stackoverflow.com/questions/900821/stuck-reloading-ajax-content-in-a-jquery-tab-programatically
With no luck.. please help me because I'm starting to get angry :-(