Hello!
Can you tell me if the function I wrote below is enough to preload images in most if not all browsers commonly used today?
function preloadImage(url)
{
var img=new Image();
img.src=url;
}
I have an array of imageURLs that I loop and call the preloadImage function for each URL.
Thank you.