I have added an border for images. But some images are missing, and for these images i have added an error message. I do not want any border for images which are missing but i am still getting it. Is there any way in jquery that i can remove border from images which are not actually present on the specified path.
Thanks
Romi.
EDIT
I hav bulk of images path, in which some of the image paths are not valid and for these invalid paths i do not want to add an error. I have single css for all image path.I cant differentiate between these. Is there any other way to do this.
i will use david code to handle missing images
http://davidwalsh.name/custom-missing-image-jquery
use the idea to set border – 0