Categories | Question details Back To List | ||
iFrame element by id not working I am trying to load an external element, why is this not working? dhxLayout.cells("b").attachURL("http://css.maxdesign.com.au/floatutorial/tutorial0815.htm"); var ifr = dhxLayout.cells("b")._frame.contentWindow.document.getElementById("content"); dhxLayout.cells("b").attachObject(ifr); If I do an alert(ifr) it returns null. Using var ifr = dhxLayout.cells("b")._frame.contentWindow.document.getElementById("content").innerHTML is of no use also. Thanks ! Answer posted by Alex (support) on Nov 16, 2009 03:40 Hello, it is possible to access only content of the pages from the same domain (cross-domain security policy). So, if the content is loaded from other domain, dhxLayout.cells("b")._frame.contentWindow.document.getElementById("content") isn't possible |