/ Published in: JavaScript
script that allow you to replace an image if that one doesn't exist
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<img src="myimagenotfind" onError="remove_el(this);" > function remove_el(image) { image.onerror = ""; image.src = "/images/noimage.gif"; return true; }