View Single Post
Old 04-18-2007, 06:20 PM   #1 (permalink)
DaveEMG
Pwner.
 
DaveEMG's Avatar
 
Join Date: Jan 2007
Location: Silicon Valley, CA
Posts: 911
iTrader: 0 / 0%
DaveEMG has a reputation beyond reputeDaveEMG has a reputation beyond reputeDaveEMG has a reputation beyond reputeDaveEMG has a reputation beyond reputeDaveEMG has a reputation beyond reputeDaveEMG has a reputation beyond reputeDaveEMG has a reputation beyond reputeDaveEMG has a reputation beyond reputeDaveEMG has a reputation beyond reputeDaveEMG has a reputation beyond reputeDaveEMG has a reputation beyond repute
Help Detecting broken images with javascript?

Alright party people. Here's the pop quiz for today (because I need help).

Is there a way, in Javascript, cross-browser compatible, to detect a broken image on a page, and replace it with a "image not found" placeholder?
__________________
"If you ain't first you're last..." ... "Oh hell, Son, I was high that day. That doesn't make any sense at all, you can be second, third, fourth... hell you can even be fifth."

DaveEMG is offline