I am loading two images in the body of my window. One of them I am purposely writing the src attribute as incorrect so the image does not load completely.
In my Script, I have the code:
window.onerror = error Handler;
In the function 'errorHandler', I would like to write code that will change the 'ALT' text of ANY image that does not load properly to "Error Loading".
Thanks for any help.
In my Script, I have the code:
window.onerror = error Handler;
In the function 'errorHandler', I would like to write code that will change the 'ALT' text of ANY image that does not load properly to "Error Loading".
Thanks for any help.