Is it possible to process all events for an object and then allow subsequent occurrences to also process the event afterwards:
$.extend($.fn.tabs.defaults, {
onSelect: function(title){
...do something for all events
}
})
$('#mytab').tabs({
onSelect: function(){
...do something just for this event
}
})
so that "...do something for all events" is always processed first for all tabs even if they have a onSelect() function ?