title: How to get the height of iframe source url https using jquery?
body: <p>I want to assign a height based on iframe body content to iframe on page load using jquery. </p>
  
  <p>My code is:</p>
  
  <pre><code>&lt;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"&gt;&lt;/iframe&gt;
  </code></pre>
  
  <p>How to set a height for a iframe on page load using jquery.</p>
  
  <p>Thanks,</p>