Flagrate API documentation

Home ▲
class-method

flagrate.Element.readAttribute

flagrate.Element.readAttribute(element, attributeName) → String | null

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/