Tabs can't be recreated

Tabs can't be recreated


I have tabs that I need to regenerate sometimes with local javascript
values.
Before, I was recreating the html tree with $(...).html(...) and
calling .tabs(). But now it doesn't work anymore.
It looks like tabs() works only the first time.
For example,
var mybox = $('#mybox'); // get a $ link on a div box ready to be
tabbed (with ul and everything inside)
mybox.tabs(); // works well
mybox.tabs('destroy'); // works well too
mybox.tabs(); // doesn't do anything
Maybe it's the new way to do to not recreate the component but how can
I recreate the tabs with local values (ajax is not a choice)?
Thanks for your help