I am making a form with some inputs, etc... And one of them asks for a URL of a picture, and I want the browser to verify if the url or the pic given is active and working.
So I have an img
element next to the url input, and when this input is blurred, the src
attribute of that img changes with javascript automatically and is set to the url given. I want to determine if the image loaded properly, or it isn't working. I don't know if there is a function to do that without the img element, but please help.