Good Day; What is the difference between document.getElementsByTagName("img") and document.images Is one preferred over the other and why? Del ----- Original Message ----- From: "Hassan Schroeder" <hassan at webtuitive.com> To: "JavaScript List" <javascript at lists.evolt.org> Sent: Thursday, September 06, 2007 9:58 AM Subject: Re: [Javascript] Listing Images on current page > Del Wegener wrote: > >> How do I get a list of the images on the current page ? > > var images = document.getElementsByTagName("img") > > ..should do it... > > -- > Hassan Schroeder ----------------------------- hassan at webtuitive.com > Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com > > dream. code. > > _______________________________________________ > Javascript mailing list > Javascript at lists.evolt.org > http://lists.evolt.org/mailman/listinfo/javascript >