摘要: 1、获取iframe中页面中的window对象 contentWindow <iframe src="iframe1.htm" id="iframe1"></iframe> contentWindow属性。(在chrome中必须在服务器环境下) oIframe.contentWindow.document.getElementById('iframe1-div'); 2、操作document对象 contentDocument IE8+ oIframe.contentDocument.getElementById( 阅读全文
posted @ 2012-11-22 14:47 hello*boy 阅读(801) 评论(0) 推荐(0) 编辑