Returns the specific node whose ID or, as a fallback, name matches the string specified by name.
Returns the specific node whose ID or, as a fallback, name matches the string specified by name. Matching by name is only done as a last resort, only in HTML, and only if the referenced element supports the name attribute. Returns null if no node exists by the given name.
the specified name of the node
the specific node
Returns the specific node at the given zero-based index into the list.
Returns the specific node at the given zero-based index into the list. Returns null if the index is out of range.
The position of the Node to be returned. Elements appear in an HTMLCollection in the same order in which they appear in the document source.
the specific node
Returns the specific node at the given zero-based index into the list.
Returns the specific node at the given zero-based index into the list. Returns null if the index is out of range.
The position of the Node to be returned. Elements appear in an HTMLCollection in the same order in which they appear in the document source.
the specific node
Returns the number of items in the collection.
Returns the number of items in the collection.
Returns the specific node whose ID or, as a fallback, name matches the string specified by name.
Returns the specific node whose ID or, as a fallback, name matches the string specified by name. Matching by name is only done as a last resort, only in HTML, and only if the referenced element supports the name attribute. Returns null if no node exists by the given name.
the specified name of the node
the specific node
Set the element at the given index.
Set the element at the given index.
the position of the Node to be set.
the value to set.
The HTMLCollection interface represents a generic collection (array-like object similar to arguments) of elements (in document order) and offers methods and properties for selecting from the list.
https://developer.mozilla.org/en-US/docs/Web/API/HTMLCollection