Daniel
Daniel

Reputation: 349

Remember multiple active tabs upon page refresh in bootstrap 3

What is the best way to remember the active tabs on a page that has more than one groups of tabs (tabs in tabs).

I am trying to build a layout for a more complex application that has embedded tabs.

Upvotes: 0

Views: 142

Answers (1)

V31
V31

Reputation: 7666

You can store the active tabs info in a localStorage variable and when you refresh and reload the page you can access the same and rerender the html according to it.

More info on localStorage:

W3School Explanation

A nice blog on it

Upvotes: 1

Related Questions