Preload images using an array of objects
<p>I wanted write preloader images and I was stuck on the checking already lodead images:</p>

<pre><code>var imgContainer = [];

$(this).find('img').each(function() {
    imgContainer.push({
        image: $(this)
        // other properties
    })
});

setInterval(function() {
    console.log(imgContainer[0].image.complete);  // undefined
}, 2000);
</code></pre>

<p>but this solution worked (without objects in array):</p>

<pre><code>var imgContainer = $(this).find('img');

setInterval(function() {
    console.log(imgContainer[0].complete)         // true
}, 2000);
</code></pre>

<p>Why it's not working?</p>
