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


Hello,


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


document.getElementById(“workLocation”).value=‘AZ’;

I am using iFrames, how to send in this case.


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’;

perfect. thanks alex