[Javascript] Detecting an image on a page

RFreeman at ncb.org.uk RFreeman at ncb.org.uk
Thu Jun 6 04:19:59 CDT 2002


Hi all,

As part of a server-uptime detection system, I want to detect with
javascript if an image is present on a page that has been pulled from a
database. Can this be done in Javascript ? Would this be the
document.images function ? I want to set a variable in the jscript to 1 if
the image is present and 0 if not - can this be don ?

Thanks for any help,

Richard
--------------------------------------------------
web developer - young transnet
rfreeman at ncb.org.uk
tel - 020 7843 6098
fax - 0870 132 0240
-------------------------------




More information about the Javascript mailing list