tab hash in bootstrap code example
Example 1: bootstrap 4 tab panel
...
...
...
Example 2: bootstrap open tab from link data-toggle="tab"
$(document).ready(function(){
activaTab('aaa');
});
function activaTab(tab){
$('.nav-tabs a[href="#' + tab + '"]').tab('show');
};