Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Denis on May 18, 2009 04:02
open dhtmlx forum
Javascript execution when attachObject is used

I want to load some one of the main page's <div> to dhtmlxWindow(as far, as I understod, attachObject is uesed for this purpose). It is also necessary to execute some javascript code inside this<div> at dhtmlxWindow loading. As for now the script is executed only when the main page is loaded. How should I solve this problem?
Answer posted by Alex (support) on May 18, 2009 05:27

You can call the necesary function after attachObject excuted:

win.attachObject(some_obj);

some_function();

Answer posted by Denis on May 18, 2009 05:53
Thanks a lot! I could not even imagine, how stupid my question was...