DHTML Tabbar

I have 3 tabs. The last tab is ID=b5 and has the title settings. I am calling a form inside this tab that when submitted I want the tab to default back to the settings b5 tab and show the changes. How can I do that? Right now when i submit, it refreshes the page and ends up at the first tab again

Tabbar has not any special functionality for preserving currently selected tab between page refresh.

You can try to add some marker to the page used as action of the form
    <form action="url#b5"
and after page reloding call
with marker taken from url