Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Gert Ziel on May 08, 2008 10:39
open dhtmlx forum
this._lastActive.idd is null or not an object - using setOnSelectHandler with iframes on demand

When using the code below:

    tabbar=new dhtmlXTabBar("_tabbar","top");
    tabbar.setImagePath("_js/imgs/");
    tabbar.preventIECashing(true);

    tabbar.setStyle("silver");
    tabbar.setMargin(-1);
    tabbar.loadXML("_xml/tabs.xml");

    tabbar.setOnSelectHandler(function(id){
        if (id=="b1")
            tabbar.forceLoad("b1","test.asp")
        return true;
    })

I'll get an javascript error: "this._lastActive.idd is null or not an object" when I'll open the default page and the selected iframe in the xml file will not load. When I click on a tab everything works fine. Also forcing of a page refresh works.
Could you help me to fix this error?
Answer posted by Support on May 12, 2008 07:41
The problem was confirmed and fixed. Please, try to use attached file instead of the original one
Attachments (1)