I do some actions with couple of images, but to work everything smoothly I need the browser to load the images. For example if i do $('body').append(''); everything works as it should and there is no delay for loading the image.
If I try style="display:none;"
on the image it does not load by browser and still there is a delay when executing the script.
Can you offer me any other solution? Thanks
Solution: $('<img/>')[0].src = mouseOverImg;
from the Preloading images with jQuery