Flagrate API documentation

Home ▲
class-method

flagrate.Element.insert

flagrate.Element.insert(element, content) → Element

Inserts content above, below, at the top, and/or at the bottom of the given element, depending on the option(s) given.

This method is similar to http://api.prototypejs.org/dom/Element/insert/