I want to assign a height based on iframe body content to iframe on page load using jquery.
My code is:
<iframe id="loginFrame" class="loginFrame" align="middle" style="border:none;float: left;margin-top: -100px; overflow:hidden;" frameborder="0" src="https://www.example.com" width="700px" scrolling="no"></iframe>
How to set a height for a iframe on page load using jquery.
Thanks,