tabbar + xml

Hi, I’m working with tabbar component, is there any function which parses the xml as string?

On the other hand, if I have a tab with div’s can I access the object to add the button to close tabs?

Thank you. A greeting.


tabbar. provides loadXMLString method.

close button can be enabled in tabbar. … utton.html

If you want to access the tab content, you can use document.getElementById(…) method.

In case of iframe based loading mode you should get window object before:

var win = tabbar.tabWindow(tabId);

win.document.getElementById(…); /this approach works for pages from the same domain/