jquery event existence

jquery event existence

Hi,

is there any way to do the next:
lets assume I 2 buttons (b1 and b2) have a button and when I click b2 it's like i'm clicking number 2?

I am using the dreamweaver SpryTabbedPanels and I want to create anther element that when I will click it, it would be the same as I have clicked on the the tab label.

hope my explanation is good enough.

thanks