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?
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
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.zip (722 Bytes)
tabs5.xml.zip (317 Bytes)
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.zip (722 Bytes)
tabs5.xml.zip (317 Bytes)