0

Make iframe automatically adjust height according to the contents without using scrollbar?

jquery code [code language=”jquery”] <script language="javascript" type="text/javascript"> function resizeIframe(obj) { obj.style.height = obj.contentWindow.document.body.scrollHeight + ‘px’; } </script> [/code]