getChild

Return child window

Trigger error, if child window not existing

 

let p=window.getChild();

 

Example: Change title from parent windpw

window.getChild().title="Test";

 

Return rowcount from child dw_1

alert( window.getChild().document.dw_1.rowcount())