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
With Twitter Bootstrap version 2 the documented way to subscribe to tab change events is
$('a[data-toggle="tab"]').on('shown', function (e) {
e.target // activated tab
e.relatedTarget // previous tab
})
The latest documentation on Twitter Bootstrap tab events can be found at http://getbootstrap.com/javascript/#tabs