[thelist] Accessing layers in Javascript

Mark Howells mark at mountain.ch
Wed Jan 30 04:12:00 CST 2002


To loop through the layers on a page in Netscape 4, I'd use the
document.layers array. 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, specifically NN6? document.all and
document.layers aren't recognized in this browser.

Regards
Mark Howells
<http://www.mark.ac/evl>




More information about the thelist mailing list