jquery ui cannot reload current tab

Posted by 0plus1 on Stack Overflow See other posts from Stack Overflow or by 0plus1
Published on 2010-05-03T13:21:26Z Indexed on 2010/05/03 13:58 UTC
Read the original article Hit count: 619

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.

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about jquery-ui