plainJS

Archive

Tag: innerHTML

  1. Append or prepend to an element$.append(), $.appendTo(), $.prepend(), $.prependTo()
  2. Empty an element’s content$.empty()
  3. Get and set the HTML content of an element$.html()
  4. Unwrap a DOM element$.unwrap()