areas | NN n/a IE 4 DOM n/a | ||
A collection of all AREA elements. Collection members are sorted in source code order. Internet Explorer lets you use array notation or parentheses to access a single anchor in the collection (e.g., document.anchors[0], document.anchors(0)). To use the ID attribute in a reference to an anchor, access the object via a document.all.elementID reference. | |||
Object Model Reference
|
length | NN n/a IE 4 DOM n/a |
Read-only | |
Returns the number of elements in the collection. | |
Examplevar howMany = document.areas.length | |
Value Integer. |