Categories | Question details Back To List | ||||||||
dhtmlxwindow ajax load with toolbar not running javascript I have a window that loads an ajax page. I want to change the toolbar of the window from my ajax page but I am unable to get any javscript to fire in the ajax page. Is this a known problem or am I doing something wrong. If I change the attachURL ajax parameter to false it works. Answer posted by Alex (support) on Oct 27, 2009 04:56 hello, the latest windows version executes javascript that is defined in the <script> tags. Do you use the latest version of the windows ? please, provide the complete demo where the issue can be reproduced. Answer posted by Fergus on Oct 27, 2009 05:34 I am using version dhtmlxWindows v.2.5 Standard edition build 090904 You can test this using your sample 12_inner_close change inner_close_url.html to have <script>alert('hello');</script> in the body win.attachURL("../common/inner_close_url.html?etc="+new Date().getTime(),false); works win.attachURL("../common/inner_close_url.html?etc="+new Date().getTime(),true); no alert Answer posted by Alex (support) on Oct 27, 2009 06:47 The issue wasn't reproduced. The sample is attached Attachments (1)
Answer posted by Fergus on Oct 27, 2009 08:40 Your Demo works with me but if I replace your code base with mine it does not work. Am I build behind? my version is pro full modified 04/09/09
Answer posted by Alex (support) on Oct 27, 2009 09:05 Sorry, yes. The issue is confirmed for the 04/09/09 built. Please, try to use dhtmlxcontainer.js from the provided sample. You an include it after dhtmlx.js. If you need the latest dhtmlx.js, please contact us at support@dhtmlx.com, provide your ref.number and we'll send the file. |