...

View Full Version : how to find the number of images



kriskishi
04-15-2005, 07:38 AM
hi friends

i have a problem with the java script .im building a sitemaker there i am loading the dynamic images the problem is i want to know the number of images on the document which there is no perticular property for that as like in form tag.please help me.

:confused:

glenngv
04-15-2005, 07:57 AM
document.images.length

Kor
04-15-2005, 11:39 AM
or
document.getElementsByTagName('img').length



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum