1:取值
$(window.parent.document).find("#second_navigator").html();
2:改变父页面元素
$(window.parent.document).find("#second_navigator").html(“我是从iframe里传来的值”);
二:javaScript方法
1:取值
window.parent.document.getElementById("second_navigator").innerHTML;
2:改变父页面元素
window.parent.document.getElementById("second_navigator").innerHTML="我是从iframe里传来的值";
查看更多关于iframe提取与改变父页面元素_html/css_WEB-ITnose的详细内容...
声明:本文来自网络,不代表【好得很程序员自学网】立场,转载请注明出处:http://www.haodehen.cn/did106374