If you are using the tabs()-element of the jqueryui you might want to perform a custom action after
the selection of the tab.
The tab()-element is offering different methods.
- is executed before the tab switches. You have the possiblity to cancel the action.
- is executed after the tab has switched. You got e.g. the option to set the focus to a specific element
http://api.jqueryui.com/1.8/tabs/#event-show
An other option is just to bind the tabsshow
http://api.jqueryui.com/1.8/tabs/#event-select