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