window.parent.document.getElementByID得到上级元素中某个ID

window.parent.window.JS变量名  得到上级元素JS文件

window.parent.document.getElementByID("ID").contentDocument.getElementById("ID")获取上一级框架中另外一个iframe中的ID

window.parent.document.getElementByID("ID").contentWindow.JS变量名    获取OR操作上一级框架中另外一个iframe中的JS变量

相关文章: