Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by James on May 19, 2008 16:52
open dhtmlx forum
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
Answer posted by Support on May 20, 2008 05:27
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
    tabbar.setTabActive(...
with marker taken from url