element.getAttribute(name)Retrieve the value of the named HTML attribute of the DOMElement. Use this method instead of the ‘Custom Attribute’ methods.
string - The name of the attributenull>: If the attribute doesn’t exist, this method will return null.Checks for authorization only