tabbar xml for setContentHref

I have this to setup tab structure:

var ContentArea = new dhtmlXLayoutObject("Layout", '2U'); var ContentTabContainer = ContentArea.cells('b'); var ContentTabBar = ContentTabContainer.attachTabbar(); ContentTabBar.setHrefMode("ajax-html"); //......................xml replace ContentTabBar.addTab('Tab1','Tab 1',''); //.........................xml replace ContentTabBar.setContentHref("Tab1","Tab1Load.cfm"); //.....xml replace ContentTabBar.setTabActive('Tab1'); //.............................xml replace // ContentTabBar.loadXml("Tab1Load.xml");

wanted to switch to xml definition … Tab1Load.xml:

<tabbar hrefmode="ajax-xml"> <row> <tab id="Tab1" href="Tab1Load.cfm" selected="true">Tab 1</tab> </row> </tabbar>

However, it appears to be doing attachURL - is there an xml equivalent to do setContentHref ?
I didn’t see any other options in the dhtmlx XML bestiary

Appreciate response… Thank you

try to set hrefmode=“ajax-html” instead of “ajax-xml”

Awesome!
Thanks Alexandra, worked like a charm :smiley: