Categories | Question details Back To List | ||
load dhtmlxwindows content that contains the javascript element regard I want to load a web page that contains the javascript elements in the dhtmlxwindows's content . a.html for example, where the contents of a.html contains javascript. I've tried to load the content with the wins2.attachURL ( "a.html", true), but the functions of the javascript file a.html not execute. there a solution for my problem? Answer posted by Alex (support) on Apr 25, 2009 05:29 Hello, attachURL(url,true) puts the data from url as innerHTML of the window. The script is not executed in this case. There are two possible ways: 1) the page is loaded into iframe win.attachURL(url); 2) the script is included into the main page (where the window is initialized), and attachURL(url,true) loads only html structure. |