I am using twitter bootstrap for a project - in particular its tab functions (http://twitter.github.com/bootstrap/javascript.html#tabs)
Now I have this tablist and when
You can use the following snippet of code in bootstrap 3
$(document).on( 'shown.bs.tab', 'a[data-toggle="tab"]', function (e) { var activatedTab = e.target; // activated tab })