Layer.layers[] (Collection)

A deprecated property providing a list of child layers within this layer.

Availability:

JavaScript - 1.2
Netscape - 4.0
Deprecated
Property/method value type:LayerArray object
JavaScript syntax:NmyLayer.layers

You should access this collection via the document object associated with this layer. That is the recommended technique for new projects. If you see this in an old project, then it should be removed if possible and replaced with the preferred means of access.

Warnings:

See also:Document.layers[], LayerArray object

Property attributes:

ReadOnly.