Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

getElementsByClassName method

Gets a collection of objects that are based on the value of the class attribute.

HTML5 A vocabulary and associated APIs for HTML and XHTML, Section 3.1.1Internet Explorer 9


Element retVal = object.getElementsByClassName(v);


v [in]

Type: BSTR

A BSTR value that specifies the value of a class attribute.

Standards information


To search for multiple class attribute values, separate them with spaces in the v parameter.



Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.