代码改变世界

随笔分类 -  JS

JS操作iframe

2011-10-10 16:51 by 默念默, 350 阅读, 收藏, 编辑
摘要: 1. 获得iframe的window对象存在跨域访问限制。chrome:iframeElement. contentWindow firefox: iframeElement.contentWindow ie6:iframeElement.contentWindow文章Iframes, onload, and document.domain中说“he iframe element object has a property called contentDocument that contains the iframe’s document object, so you can use the 阅读全文
点击右上角即可分享
微信分享提示