Answers for "jquery detect nav tab change event"

0

jquery detect nav tab change event

$('a[data-toggle="tab"]').on('shown.bs.tab', function (e) {
  var target = $(e.target).attr("href") // activated tab
  alert(target);
});
Posted by: Guest on November-08-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language