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