HTMLCollection12
NIST
The namedItem(name) method retrieves a node using a name. It first
searches for a node with a matching id attribute. If it doesn't find
one, it then searches for a Node with a matching name attribute, but only
on those elements that are allowed a name attribute. If there isn't
a matching node the method returns null.
Retrieve the first FORM element and create a HTMLCollection by invoking
the elements attribute. The method returns null since there is not a
match of the name or id attribute.
Rick Rivello
2002-05-01