<script type="text/javascript" language="javascript">
function iFrameHeight() {
var ifm = document.getElementById("iframepage");
var subWeb = document.frames ? document.frames["iframepage"].document : ifm.contentDocument;
if (ifm != null && subWeb != null) {
ifm.height = subWeb.body.scrollHeight + 20;
}
}
</script>
<iframe id="iframepage" src="<%=ListDispFormUrl %>" onLoad="iFrameHeight()" scrolling="no" frameborder="0" width="100%" style="visibility:visible;"></iframe>
转载于:https://blog.51cto.com/2342615/555561