My CMS creates img src = "(unknown)" if the image is not specified in the database. I would like to use javascript when this happens to change it to img src = "/images/missing.png" As a full JS noob, I tried several hacks, but no one seems to work ... any ideas? (there can be more than one image per page, if that matters)
source
share