jquery操作iframe中的方法
$(window.frames["iframe"])[0].contentWindow.setContent($(this).html(),true);
jquery获得iframe中的元素
$("#frame_1").contents().find("#test");
iframe 自适应高度
子页面访问父级页面的方法
window.parent.method()
jquery操作iframe中的方法
$(window.frames["iframe"])[0].contentWindow.setContent($(this).html(),true);
jquery获得iframe中的元素
$("#frame_1").contents().find("#test");
iframe 自适应高度
子页面访问父级页面的方法
window.parent.method()