$('#theImage').attr('src', 'image.jpg').load(function() { alert('This Image Has Been Loaded');});//该片段来自于http://www.codesnippet.cn/detail/060120131341.html
来源: http://www.codesnippet.cn/detail/060120131341.html