dhtmlxTabbar - How to persist the tabbar state

What is the best way to persist the toolbar state. I’d like to be able to keep the selected tab when I reload and/or go back to the same page.
Note I’m initializing the toolbar from HTML, so I’d like to do it from HTML

Thank you for your help…

Tabbar have not built in support for such functionality.

While loading from HTML, tab which need to be active on-load can be marked with “selected” attribute