Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

bootstrap open tab from link data-toggle="tab"

$(document).ready(function(){
  activaTab('aaa');
});

function activaTab(tab){
  $('.nav-tabs a[href="#' + tab + '"]').tab('show');
};
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #bootstrap #open #tab #link
ADD COMMENT
Topic
Name
2+4 =