Visit Mozilla.org

XUL:Method:getElementsByAttribute

From MDC

« XUL Reference home

getElementsByAttribute( attrib, value )
Return type: DOM NodeList
Returns an array of all the child elements of the element that have the attribute given by the first argument set to the value given by the second argument. If the second argument is '*', the attribute may be set to any value.