Home Cooker Classes Others Rice CookerGX
Classes  >  element  >  GetElementsByClassName(string)
element class : GetElementsByClassName(string) method

Description

Gets a list of the offspring elements that have the specified class attribute.

Syntax

elementInstance.GetElementsByClassName(string className)

Arguments

ClassNameDescription
stringclassNameThe value of class attribute.

Return value

ClassDescription
list{element}A list of the offspring elements that have the specified class attribute.

Sample code

//anyElement is any instance of element type.

list{element} le = anyElement.GetElementsByClassName("anyClassName");

Notes

None

Links for reference

None

Copyright © Rice All rights reserved.