Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Mar 27, 2009 00:20
open dhtmlx forum
referering tabber from a window

hi,

in a tabber tab i have a textbox and when user dbl click i am opening popup window with values once user select from the list i need to transfer value back to the textbox for a respected tab txt box

i am referring in the following format
parent.tabber.cells("dataentry").getElementByID("workLocation").value='AZ';

here i am getting cells is null error.

how to rectify the error.

we are using dhx 2.0
Answer posted by Alex (support) on Mar 27, 2009 07:31

Hello, 

If you don't use iframes neither in tabbar nor in window, you can try a simple approach:

document.getElementById("workLocation").value='AZ';

 

Answer posted on Mar 27, 2009 15:52
I am using iFrames, how to send in this case.
Answer posted by Alex (support) on Mar 30, 2009 05:16

If the window contain iframe, the following can be used:

parent.document.getElementById("workLocation").value='AZ';

In case of using iframes to load tabbar content:

parent.tabber.tabWindow("dataentry").document.getElementById("workLocation").value='AZ';

Answer posted on Apr 01, 2009 05:25
perfect. thanks alex