我们的志愿者还没有将这篇文章翻译为 中文 (简体)加入我们帮助完成翻译
您也可以阅读此文章的English (US)版。

getElementsByAttribute( attrib, value )
Return type: DOM NodeList
Returns a NodeList 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 method will match the given attribute set to any value. Note that like most NodeLists (but unlike the NodeList returned by querySelectorAll), the NodeList returned by this method is live.
Note that this method is only available on XUL elements; it is not part of the W3C DOM.

文档标签和贡献者

最后编辑者: wbamberg,