title: Jquery preload images 1 through 40
body: <p>I'm working on pre loading images and I am trying to load 1 through 40 but its not working :( here is the code:</p>
  
  <pre><code>function preload(arrayOfImages){
   $(arrayOfImages).each(function(){
    (new Image()).src = this;
   });
  };preload(['/img/wallpapers/'images 1 to 40'.jpg']);
  </code></pre>