title: How to wait for images loaded with javascript?
body: <p>I have a div in which I am appending imgs. Images are loading with AJAX by 20 items. They are showing with jQuery animation. A problem that animation is retarding. I think that there are 2 problems:</p>
  
  <ol>
  <li>Images for showing are not downloaded and i want to display them now</li>
  <li>When I set css display: block to img, I get delay when browser painting image</li>
  </ol>
  
  <p>So the question is how to wait for pack of images (20 items) is downloaded and how to dispose of the painting delay?</p>
  
  <p>P/S. If I show empty divs (just set them background-color) or 1 image for all img-tags the animation works quickly.</p>