onerror
function onError(img) { delete img.onerror; // Change the url //img.src = 'images/noload.jpg'; // or just hide it (jQuery) //jQuery(img).hide(); }
<img src="http://dev.null" onerror="onError(this)">
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)