I have used Jquery UI Tabs, and given close option to the tabs. By default i am creating three tabs and its corresponding three divs. Now when i close a tab then the tab and
Not 100% sure on the specific code, but try something like this to hide-and-not-delete the tab:
$( ".selector" ).tabs({ remove: function(event, ui) { $(this).hide(); return false; } });