GetElementsByClassName

Element.GetElementsByClassName method

Returns a live NodeList object containing all the elements in the document that have all the classes specified in argument. http://www.w3.org/TR/dom/

public HTMLCollection GetElementsByClassName(string classNames)
Parameter Type Description
classNames String The string string that contains an unordered set of unique space-separated tokens representing classes (class names)

Return Value

The Element.

See Also