JS looping a folder of images, preload them and assign to an array?
<p>I have a folder named "img" and i want to use js to look up the folder and find all the image files (jpg,JPG or png) and preload them and assign them to an array.</p>

<p>Can this be done in terms of looking up a folder like that on my server? Or does client code not allow you to loop through files in a folder?</p>
