如果有任何DOM API搜索具有给定属性名称和属性值的元素,请告诉我:
就像是:
doc.findElementByAttribute("myAttribute", "aValue");
javascript dom
dom ×1
javascript ×1