[thelist] Accessing layers in Javascript
Andrew Clover
and at doxdesk.com
Thu Jan 31 08:47:01 CST 2002
> To loop through the layers on a page in IE 4, I'd use the document.all
> array. Any idea what I can use in browsers that recognize
> document.getElementById
document.all gives you more than just layers of course - you get every
element in the document. The equivalent in the standard DOM would be
document.getElementsByTagName('*').
--
Andrew Clover
mailto:and at doxdesk.com
http://and.doxdesk.com/
More information about the thelist
mailing list