Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by M4erler on Jun 19, 2007 19:38
open dhtmlx forum
Getting selectbox witch is on a tab of dhtmlXTabBar

I use dhtmlXTabBar. I attach a html file on a tab. The html file content a form. How can i control form items from out of the tabbar?
Answer posted on Jun 20, 2007 15:27
If you are using no-iframe mode, the form is a part of HTML DOM and can be accessed in default way

    document.forms[name].elements[ename].value

if you are using iframe based mode, to access it you can use
   
    tabbar.tabWindow(tabId).document.forms[name].elements[ename].value
where tabId - id of tab on which form placed
Answer posted by M4erler on Jun 23, 2007 09:57
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.

Attachments (2)
denek.html1.22 Kb
tabs5.xml407.00 B
Answer posted by M4erler on Jun 23, 2007 10:53
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.

Attachments (2)
denek.html1.22 Kb
tabs5.xml407.00 B
Answer posted by radyno (Support) on Dec 08, 2014 17:15

Having solved the problem mentioned above, you may also look through the possible related problems with javascript slide bar and scheduler calendar.