/ Published in: jQuery
courtesy Jean-Baptiste Jung
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$('#myImage').attr('src', 'image.jpg').load(function() { alert('Image Loaded'); });