Preload images using jquery
<p>In my web page some images are taking a lot of time to load in IE.So I used this for preloading images in my page.But still the problem persists.Any suggestions?</p>

<pre><code>function preload(arrayOfImages) {
    $(arrayOfImages).each(function(){
        $('&lt;img/&gt;')[0].src = this;
    });
    alert("Done Preloading...");
}

// Usage:

preload([
    '/images/UI_1.gif',
    '/images/UI_2.gif',
    '/images/UI_3.gif',
    '/images/UI_4.gif',
    '/images/UI_5gif',
    '/images/UI_6.gif',
    '/images/UI_7.gif',
    '/images/UI_8.gif',
    '/images/UI_9.gif'
]);
</code></pre>

<p>&lt;</p>

<blockquote>
  <p>div>                                                                                                                             
     </p>
</blockquote>
