Background: I have a page with a bunch of panels, each panel displaying a JQuery tabs, each tabs may have 'n' tabs. Since a lot of information is displayed, users should be able to 'close' certain panel if they are not interested in the information.
I need to save the tabs' collapsible state to db (which is pretty straightforward). How does one find out the state? collapsed or not?
If there are three tabs within a tabs(), any click will trigger the 'select' event, how can one figure if the tab has been collapsed and not just another tab selected, the tab will collapse only if currently selected tab is clicked.