var nextimage = "/images/some-image.jpg"; $(document).ready(function () { window.setTimeout(function () { var img = $("<img>").attr("src", nextimage).load(function () { //all done } ); }, 100); } );