我有一个框架集:
<frameset rows="30px,*">
<frame id="frame1" src="frame1source.html">
<frame id="frame2" src="frame2source.html">
</frameset>
我需要能够使用 jquery 从 #frame1 中更改 #frame2 的高度。
我尝试了许多解决方案均无济于事,包括:
$(window.parent.frames[0].document).css("height",300);