I am using jQuery tabs with the collapsible option. I was wondering how to save the state of my collapsible option (maximized or minimized) across subsequent requests(page loads), within a cookie. The ideas is if I refresh the page and the tab was minimized then i should see it minimized.
Share
Other than cookies?
You can of course use cookies, but there are other ways of doing it as well:
window.nameas explained and used in this tiny simple small library by Thomas Frank.Just sayin’ you can use other means as well that preserve upon full page requests…