摘要:
1. 父窗体获取iframe的window对象var mainFrame = document.getElementById("myFrame");var subDocument = mainFrame.contentDocument || mainFrame.contentWindow.document;2. iframe中获取父窗体window对象方法:(浏览器兼容)window.parent 阅读全文
posted @ 2011-09-16 13:24 X龙 阅读(4681) 评论(0) 推荐(0) 编辑