Detecting an image 404 in Javascript

Handle the <img> element’s onerror event.

Leave a Comment