父窗口调用子窗口
var hasMore = parent.document.getElementByIdx_x_x_x("hasMore").value;
子窗口调用父窗口document.frames["ifrmBoxFrame"].me.preLoadBoxGrid();window.frames["iframe_ID"].document.getElementByIdx_x_x_x("iframe_document_object").object_attribute = attribute_value
window是对当前窗口自身的引用如:window.returnValue = ret;window.close();top返回顶层窗口,即浏览器窗口。如:top.frames[tabID].location = url;top.document.frames("ifrmBoxFrame").me.executeQueryCond();parent返回父窗口如:parent.$("Insheet_FrameTable").src = "";parent.frames["Insheet_FrameSheetList"].initInsheetList(false);http://www.terwer.com/js-iframe-parent-child-window-parent-element-to-invoke-the-methods-of-the-page-top-to-explain.html