Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Rolf on Feb 07, 2008 15:52
open dhtmlx forum
Active a certain tab by name

Hello there!

I've got a question concerning the DHTMLXTabbar product.
I would like to activate a certain tab by name (from another form button). Would this be possible somehow?

I've seen there are options to activate the 'Next' or 'Previous' tab in about the same way,
but I didn't find any function yet that allows me to active a tab by name.

Could someone help me out here?

Thanking you a lot in advance.

Gr

Rolf
Answer posted by Support on Feb 08, 2008 01:25
>>Would this be possible somehow?
There is a setTabActive method which accepts tab ID as first parameter

    <input type="button" onclick="tabbar.setTabActive('tab_id');"
Answer posted on Feb 08, 2008 06:56
Ok, thanks a lot. I'll try that.

Rolf