Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

bootstrap tabs click event jquery

$('a[data-toggle="tab"]').on('shown.bs.tab', function (e) {
  var target = $(e.target).attr("href") // activated tab
  alert(target);
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #bootstrap #tabs #click #event #jquery
ADD COMMENT
Topic
Name
6+2 =