Javascript Bootstrap 3中捕获tabs切换事件
阅读(4742)
$(document).on('shown.bs.tab', 'a[data-toggle="tab"]', function(e) {
console.log(e.target) // activated tab
});
via: http://stackoverflow.com/questions/19096513/click-event-in-bootstrap-3-tabs
$(document).on('shown.bs.tab', 'a[data-toggle="tab"]', function(e) {
console.log(e.target) // activated tab
});
via: http://stackoverflow.com/questions/19096513/click-event-in-bootstrap-3-tabs