submitting individual tabs in jquery tab

submitting individual tabs in jquery tab

With jquery tabs that have 2 tabs, is there a way to have a submit button in each tab and when clicked, only data pertaining to that tab is picked up and how would I know which submit function to call?