Possible Duplicates:
jQuery: Check if image exists
jQuery/Javascript to replace broken images
I need to check if an image file exists and replace it with a default image in case the image does not exist on the server. Please let me know how can this be done using jQuery.