mark103 Posted March 7, 2013 Share Posted March 7, 2013 Hi guys,Can you please help me, I want to find out how I can check on if statement using with javascript to see if the image on the webpage does exist then replace the image.Does anyone know how i can do this?thanks in advance Link to comment https://forums.phpfreaks.com/topic/275390-how-to-check-image-on-if-statement/ Share on other sites More sharing options...
Psycho Posted March 7, 2013 Share Posted March 7, 2013 I'm not following. Are you including a URL from an external site for an image on your page and sometimes that URL isn't to a valid image? Link to comment https://forums.phpfreaks.com/topic/275390-how-to-check-image-on-if-statement/#findComment-1417370 Share on other sites More sharing options...
requinix Posted March 7, 2013 Share Posted March 7, 2013 Duplicate. http://forums.phpfreaks.com/topic/275391-how-to-check-image-on-if-statement/ Link to comment https://forums.phpfreaks.com/topic/275390-how-to-check-image-on-if-statement/#findComment-1417371 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.