S
S
Stop_Loll2021-11-09 22:51:40
HTML
Stop_Loll, 2021-11-09 22:51:40

How to keep active tab on bootstrap 5 page reload?

Hello everyone, recently the question arose of creating tabs on the site, but I ran into a problem, after refreshing the page, the position returns to the first tab, that is, the active tab is not saved. I thought that I would find the answer on the Internet, but unfortunately all the examples are not working, or rather they do not fit bootstrap 5 because the display of clutches there occurs according to aria-controls="nav-set" aria-selected="true"
Write my own tab saving At the moment I can’t, I don’t have enough knowledge, I will be grateful for any help!

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question