class-method
flagrate.Element.readAttribute
flagrate.Element.readAttribute(element, attributeName) → String | null
element(Element) – instance of Element.attributeName(String) – attribute name.
Returns the value of element's attribute or null if attribute has
not been specified.
This method is similar to http://api.prototypejs.org/dom/Element/readAttribute/