Topic: Tabs - how to save the "active" tab at user's device
Please help my to make it work so the Active Tab (the one that was last opened by the user) is saved. So if you update the web-page the last active tab stays active.The tabs I am using:https://mdbootstrap.com/docs/jquery/components/tabs/
Adam Jakubowski staff pro premium priority answered 5 years ago
Hi,
Maybe try this solution https://stackoverflow.com/questions/18999501/bootstrap-3-keep-selected-tab-on-page-refresh
Best,
Adam
sergeysh answered 5 years ago
Thank you, I see I need to do some work with JS code, but please tell me - where is MD JS code located that works with the tabs?
Adam Jakubowski staff pro premium priority commented 5 years ago
the code is in the bootstrap.min.js and is located in js folder
sergeysh commented 5 years ago
I mean is there any documentation - what JS function works with what MD component ?
Adam Jakubowski staff pro premium priority commented 5 years ago
is that what you mean? https://mdbootstrap.com/docs/jquery/components/tabs/#events
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Free
- Premium support: No
- Technology: MDB jQuery
- MDB Version: 4.8.4
- Device: Desktop
- Browser: Chrome
- OS: Windows
- Provided sample code: No
- Provided link: Yes