Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by fathul wahhab on Jun 03, 2009 23:05
open dhtmlx forum
dhtmlx windows

how to call javascript function from dhtmlx windows to dhtmlx windows (communication between dhtmlx windows) like call javascript function from other iframe.
Answer posted by Support on Jun 04, 2009 02:51
If you are attaching content to windows by ajax calls - they all they exists on the same level, so you can access content of any window by normal DOM operations. 

If you are using attachURL with iframes - each window will be a separate iframe in fact , so you can access top window through parent 
         parent.dhxWins.window(id).doSomething();
where dhxWins - name of custom object, which was used for windows creation.