make iframe height dynamic based on content inside- JQUERY/Javascript
You can retrieve the height of the IFRAME‘s content by using: contentWindow.document.body.scrollHeight After the IFRAME is loaded, you can then change the height by doing the following: <script type=”text/javascript”> function iframeLoaded() { var iFrameID = document.getElementById(‘idIframe’); if(iFrameID) { // here you can make the height, I delete it first, then I make it again iFrameID.height … Read more