tabWindow

Hi,

i’m using ver 2.1 pro.

I’ve this problem:

i’ve a this xml for tab

<?xml version="1.0" encoding="UTF-8"?>

instradamento 1



In my jsp:



function doOnload(){

     tabbar=new dhtmlXTabBar(“a_tabbar”,“top”);

    }

function showHideRicerca()

    {

        

        if(tabbar.getActiveTab() != null){

            var idTab = tabbar.getActiveTab();

            alert(tabbar.tabWindow(idTab));

        }

}







At the end of load action, i’ve a grid in windows. So, when i call function showHideRicerca, the alert show null.

I must call a function in a windows present in tab.

What can i do?


Hello


when is showHideRicerca called ?


Try to call it after xml loading


tabbar.loadXML(“tabbar.xml”,showHideRicerca);


If the issue isn’t solved, please provide the complete demo to support@dhtmlx.com