SyntaxFix
Write A Post
Hire A Developer
Questions
var img = new Image(); $(img).load(function(){ $('.container').append($(this)); }).attr({ src: someRemoteImage }).error(function(){ //do something if image cannot load });