Hi.
I use layouts and use attachURL for init conent in the cell.
How i can catch the event, occurs when content fully loaded?
This code dosen’t work:
mainLayout.cells(“b”)._frame.contentWindow.document.onload() {
alert(“Content loaded!”);
}
mainLayout.cells(“b”)._frame.contentDocument.onload() {
alert(“Content loaded!”);
}
You can try to use the following approach:
dhxLayout.cells(“b”)._frame.onload = function(){
alert(“Content loaded!”);
}