<img src="imagenotfound.gif" alt="Image not found" onerror="this.onerror=null;this.src='imagefound.gif';" />
Reference:
https://stackoverflow.com/questions/3984287/how-to-show-alternate-image-if-source-image-is-not-found-onerror-working-in-ie
Catatan Belajar, Kuliah, Kerja, dll.
Posted by Kak Irudini on 2022/01/25 8:02 PM in howto, JavaScript
IRUDINI.ID - 2022/01/25 8:02 PM
<img src="imagenotfound.gif" alt="Image not found" onerror="this.onerror=null;this.src='imagefound.gif';" />
Reference:
https://stackoverflow.com/questions/3984287/how-to-show-alternate-image-if-source-image-is-not-found-onerror-working-in-ie
Title: How to show Alternate Image if source image is not found
Link: https://karudi.blogspot.com/2022/01/how-to-show-alternate-image-if-source-image-is-not-found.html
https://karudi.blogspot.com/2022/01/how-to-show-alternate-image-if-source-image-is-not-found.htmlHashtag : #howto, #JavaScript
IMAM RUDINI
(Rudi)
Tax and Accounting
"do u have a job for me? please hire me"