Prevent Tabs 3 Ajax Autoload

Prevent Tabs 3 Ajax Autoload


Hello dear Jquery community,
I am very pleased with using the Tabs plugin. However, I've discovered
an issue which I could not solve yet.
My tabs are AJAX-driven and access one single container, called
#maincontent, which already contains some information on startup.
Now, when I load the tabs plugin with no tabs selected, #maincontent
is cleared. However, I need the original content to be there, it
should only be replaced in case a tab is clicked, which then will load
the url.
Is it a bug, or just the intended behaviour? How shall I fix it? I
already thought about cloning the container before loading tabs,
say:
var backup = $('#maincontent').clone(true);
$('#tabcontainer > ul').tabs({selected: null});
and then replacing it through the backup
$('#maincontent') = backup; //sth. like this
However, I find this solution to be inefficient, and ask you if you
see any other workaround?
Thanks in advance,
Paul