[Tabs component] How to remove a tab but not its div component
Hi all, and thanks for paying attention !
I have a tab component with few tabs leading to the same DIV :
- $('#ecocalculateur_tab_container').tabs('add', '#ecocalculateur_input_tab', '');
- $('#ecocalculateur_tab_container').tabs('add', '#ecocalculateur_input_tab', '');
- $('#ecocalculateur_tab_container').tabs('add', '#ecocalculateur_global_tab', '');
So tab 1 and 2 share the same content.
Then i need to remove the second tab :
- $("#ecocalculateur_tab_container").tabs('remove', 1);
But doing this also delete the content in the DIV '#ecocalculateur_input_tab'. (So I have issues while loading the first tab, since the content does not exist anymore.)
So, I'd like to know if there is a way to delete only the tab without te DIV content.
Thanks for reading !
Adrien