Reputation: 2003
I have a tab setup similar to this code. I need to change the active tab programmatically.
I'm trying to do like it is documented on bootstrap's official documentation but it doesn't work.
Upvotes: 2
Views: 1378
Reputation: 1486
Try using the native javascript document.getElementById(tabId).click();
.
Upvotes: 2