X龙@China .Net 'blog

需要的不仅仅是工作,而是通过努力得来的美好将来。
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2011年9月16日

摘要: 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龙 阅读(4665) 评论(0) 推荐(0) 编辑

点击这里给我发消息http://wp.qq.com/index.html