문서의 이전 판입니다!
var iframe = window.parent.document.getElementById("iframeID값"); if (!iframe) { return; } var bodyHeight = $(iframe.contentDocument.documentElement).find("body").height(); // body의 높이를 알아내서 iframe.height = (bodyHeight + 20) + "px"; // iframe의 height에 적용한다. 약간 여유를 줌.