jQuery 实现图片预加载 2015/08/13 18269 // Insert preloaded image after it finishes loading $('<img />') .attr('src', 'imageURL.jpg') .load(function(){ $('.profile').append( $(this) ); // Your other custom code });