Returns a HTMLCollection containing a list of all descendant elements that match the specified name.

[VBScript]
Public Function GetElementsByName( _
   ByVal elementName As String _
) As HTMLCollection
[JScript]
public function GetElementsByName(
   elementName : String
) : HTMLCollection;

Parameters

elementName
The tag name of the elements to match.

Return Value

A HTMLCollection containing all matching elements.

See Also

HTMLDocument Object | HTMLDocument Members | DOM Namespace