bootstrap tabs active on click code example
Example 1: bootstrap tabs
...
...
...
Example 2: bootstrap 4 tab panel
...
...
...
Example 3: bootstrap set active tab javascript
$(document).ready(function(){
activaTab('aaa');
});
function activaTab(tab){
$('.nav-tabs a[href="#' + tab + '"]').tab('show');
};