¡@

Home 

javascript Programming Glossary: isvalidimageurl

Is this a valid test to check if a URL refers to an Image in JS/jQuery

http://stackoverflow.com/questions/4669111/is-this-a-valid-test-to-check-if-a-url-refers-to-an-image-in-js-jquery

I tried this http jsfiddle.net wp7Ed 2 function function IsValidImageUrl url img src url error function return false load function.. function return false load function return true alert IsValidImageUrl http goo.gl GWtGo alert IsValidImageUrl http error but of course.. return true alert IsValidImageUrl http goo.gl GWtGo alert IsValidImageUrl http error but of course it fails... how can I return from an..