DomUtils.getAttributeValueGets an attribute from an element. function getAttributeValue(elem: Element, name: string): string | undefined;§getAttributeValue(elem: Element, name: string): string | undefined[src]§Parameters§elem: Element[src]Element to check. §name: string[src]Attribute name to retrieve. §Return Type§string | undefined[src]The element's attribute value, or undefined.