I have a script to change the src of an image, and it's working just fine.. but my problem is that I only want to change the img src if the file exist.
I'm aware of methods to do this ServerSide, so I'm not interested in that. Is there anyone out there who how to do this with JavaScript - ClientSide?
Is it even possible?
Stian Haugen
Web-Developer
"Trinity, help!" -neo, The Matrix 1999
I'm aware of methods to do this ServerSide, so I'm not interested in that. Is there anyone out there who how to do this with JavaScript - ClientSide?
Is it even possible?
Stian Haugen
Web-Developer
"Trinity, help!" -neo, The Matrix 1999