/ Published in: jQuery
Taken from TVIDesign's 25 Excellent jQuery tips
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$('#myImage').attr('src', 'image.jpg').load(function() { alert('Image Loaded'); });
URL: http://www.tvidesign.co.uk/blog/improve-your-jquery-25-excellent-tips.aspx