src code

class method ActiveSupport.Element.insert

ActiveSupport.Element.insert(element,content[,position]) → Element
  • element (Element)
  • content (String | Number | Element)
  • position (String): "top", "bottom", "before", "after" Note that this element does not identically mimic Prototype's Element.prototype.insert