Attach onSelect event with tabbar

How i can attach onSelect event when tabbar initialize from html? please see code for more detail.

Content 3

You may set oninit attribute - function that is called after tabbar initialization:

[code]


[/code]