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.
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?