摘要: $("#父窗口元素ID",window.parent.document);对应javascript版本为window.parent.document.getElementByIdx_x("父窗口元素ID");取父窗口的元素方法:$(selector, window.parent.document);那么你取父窗口的父窗口的元素就可以用:$(selector, window.parent.parent.document);类似的,取其它窗口的方法大同小异$(selector, window.top.document);$(selector, window. 阅读全文
posted @ 2012-10-09 11:57 流浪在阿尔卑斯的野狼 阅读(321) 评论(0) 推荐(0) 编辑