SyntaxFix
Write A Post
Hire A Developer
Questions
jQuery 3.0 removed .error. Correct syntax is now
.error
$(this).on('error', function(){ console.log('Image does not exist: ' + this.id); });