frames | NN 2 IE 3 DOM n/a
A collection of all frame objects defined in the window or frame. Only the first-level frames are exposed to the frameset object. To find further nested frames requires digging into the frames collections of nested frameset objects. The collection also includes iframe elements defined in the window's document. Be aware that the frames object does not work as expected in some sub-versions of Netscape 6.
Object Model Reference
    [windowRef.]frames
Object-Specific Properties
length
Object-Specific Methods
item( ) | namedItem( )

length | NN 2 IE 3 DOM n/a
| Read-only
Returns the number of child frames defined in the frameset whose window starts the reference. Broken in some sub-versions of Netscape 6.
Example
    var howMany = parent.frames.length;
Value
Integer.

item( ) | NN n/a IE 4 DOM n/a
item(index) |
Returns a single window object corresponding to the element matching the index value in source code order.
Parameters
A zero-based integer.
Returned Value
window object.

namedItem( ) | NN n/a IE 6 DOM n/a
namedItem(IDOrName) |
Returns a single object or collection of objects corresponding to the element matching the parameter string value.
Parameters
The string that contains the same value as the desired element's id or name attribute.
Returned Value
One object or collection (array) of objects. If there are no matches to the parameters, the returned value is null.