dhtmlxTabbar

Hi,



I have implemented Tabbar “a,b”.



dhxTabbar.setHrefMode(“iframe”);

//dhxTabbar.setHrefMode(“ajax-html”);

dhxTabbar.addTab(“a1”,“History”,“100px”);

dhxTabbar.addTab(“a2”,“LoadItem”,“100px”);



dhxTabbar.setContentHref(‘a2’,‘http://abc.com?addItem=item1’);

dhxTabbar.setContentHref(‘a2’,‘http://abc?addItem=item2’);



Issue here is i have to reload ‘abc.com’ to add item, but iam not able to trace iframe to , it dosen’t have id ,



Can you please help me how to trace iframe inside ‘a2’.







Regards,

Ram

You can access window inside the tab as
dhxTabbar.tabWindow(“a2”)
or just use
dhxTabbar.forceLoad(“a2”,“some new url”)

Iam getting errot “this._hrefs is undefined”.

var dhxTabbar =workspaceLayout.cells(“b”).attachTabbar();
    dhxTabbar.setImagePath("/javascripts/dhtmlx/dhtmlxTabbar/codebase/imgs/");
    dhxTabbar.setHrefMode(“iframe”);
    dhxTabbar.addTab(“a1”,“History”,“100px”);
    dhxTabbar.addTab(“a2”,“Loaditem”,“100px”);
  dhxTabbar.forceLoad(“a2”,“abcdemo.com?addItem=item1”)

There are two commands in tabbar
dhxTabbar.setContentHref - assign url to the new tab
dhxTabbar.forceLoad - reload already existing tab with new url

if iam using “dhxTabbar.forceLoad” function iam getting error:

this._content[tab.idd] is undefined

Can you help in findout why iam getting this error?


Regards,
Ram