HTMLElement GetElementsWhere Method

    R←Y GetElementsWhere A V 

Y is an HTMLElement object. A is an attribute name. V is a value. R is an array of elements under and including Y having attribute A equal to value V.

R will be empty if no elements are found.