How to find that, image is loaded or not

Giganews Newsgroups
Subject: How to find that, image is loaded or not
Posted by:  balakrishnan.dineā€¦@gmail.com
Date: 4 Sep 2006

hi frnds,
            In my senario, My webpage will load dynamically from the
server, Sometimes Images in my is not loading, how can i find , whether
my image is loaded or not, through javascript.

  then the image tag will have the id as "imageId"

            I have putted alert as document.getElementById('imageId').
eventhough the image is not loaded ,the alert showing it is a object.

          Can anyone tell me. how i will be indicated when image not
loaded through a javascript alert.

Rgrds
Dinesh...

Replies