Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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

 

Syntax


Element retVal = object.getElementsByClassName(v);

Parameters

v [in]

Type: BSTR

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

Standards information

Remarks

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

 

 

Community Additions

ADD
Show:
© 2015 Microsoft