I need to reload the current tab in jquery ui (loaded with ajax).
I'm doing this:
function reloadtab(){
$('#tabs').tabs('load', $('#tabs').tabs('option', 'selected'));
}
Before you begin wondering:
$('#tabs').tabs('option', 'selected');
returns 3.
When I call reloadtab() I get no error, it simply doesn't work. Why does this happens?
Thank you very much
EDIT: I'm an idiot, it was working, was a problem with cache. Sorry.