tabbar.tabWindow('b1') has no properties this._hrfmode has

hi i try your suggestion as attachments files but i take errors. When i write



btabbar.showTab(‘b1’);

btabbar.tabWindow(‘b1’).document.dgr.mtnSart.value=“murat”;



commands in a function (deneme) which is on onclick event. I have taken “btabbar.tabWindow(‘b1’) has no properties” erorr.

Also; When i write same codes blow of



btabbar.loadXML(“tabs5.xml”); 



command, i have  taken "this.hrfmode has no properties" erorr.

i use firefox 2.0.0.3.



thank you for your interest.

denek.html
_-




Untitled Document

    <script  src=“js/dhtmlXCommon.js”>
    <script  src=“js/dhtmlXTabbar.js”>
    <script  src=“js/dhtmlXTabbar_start.js”>
   
   



 

   

 

 

   

 


   

   

     
   





tabs5.xml

<?xml version="1.0"?>
<tabbar  hrefmode=“iframe”>
   
        Diğer Kodlar
        <tab id=“b2” width=‘100px’  href=“kodcu_seri.jsp”>Seri Üretim
        <tab id=“b3” width=‘100px’  href=“kodcu_rsm.jsp”>Resimler
        <tab id=“b4” width=‘100px’  href=“kodcu_arama.jsp”>Arama Ekranı
   




In case of “iframe” mode (it seems you are using it)  - please use attached file instead of original one - it will resolve issue with tabWindow functionality


Also; When i write same codes blow of  btabbar.loadXML(“tabs5.xml”); 
The loadXML is async operation, command, which called directly after it, can be executed before XML really loaded and parsed, to be sure that XML loaded you can use next syntax


btabbar.loadXML(“tabs5.xml”,function(){
    //any code here which need to be executed after XML loading
}); 

dhtmlXTabBar_std_sh.zip (6.8 KB)