Checking if an image is missing from folder in javascript
<p>I am making a small slide show application to show images inside an html.</p>

<p>The name of images are something like: </p>

<ul>
<li>"MOD01_001.jpg"</li>
<li>"MOD01_002.jpg"</li>
<li>"MOD01_004.jpg" and so for...</li>
</ul>

<p>Sometimes one or more images is missing and the previous images still is in the cache, so I can't check if the new image was loaded checking for the width/height properties.</p>

<p>What can I do to check if an images are missing from the list (I know I can't access the file info from inside client browser).
TIA</p>
