Skip to main content

7. Collection class

Introduction

The collection object implements a subset of the standard DOM HTMLCollection

Attributes

length

Long

Number of items in collection.

Methods

item

id: long

returns Element

Find the element with id order number.  The first element is 0.

namedItem

id: string

returns Element

Search for an item with the given name.  First search an element with matching Id attribute.

If none is found, search for an element with matching Name attribute.