samedi 25 avril 2015

check if the image is available in the given URL by javascript / angularjs or jquery


I am developing an application using java and angularJS. I am getting an image url from database and in the client side I want to check whether that Image is available in that url, if ONLY display it else to display a default image I have.

So how can I check that image is actually available in the given URL..?


Aucun commentaire:

Enregistrer un commentaire