title: Is there an "element ready" function in jquery?
body: <p>I have an element which has a CSS border and the problem is the element is empty until the contents are filled by jQuery, but the border is drawn by CSS from the outset. I would like to be able to do something like
  <strong>make the element visibility hidden until it's ready to display
  then show element and border in one go.</strong></p>
  
  <p>Is there some way to achieve this?</p>
  
  <p>Edit: the code to display the contents are contained inside</p>
  
  <pre><code>$(window).load(function() {
  
  }
  </code></pre>