|
DOM manipulation
This example shows jQuery way DOM manipulation.
- append(content) inserts content to the end of each element in the set of matched elements.
- prepend(content) inserts content to the beginning of each element in the set of matched elements.
- empty() removes all child nodes of the set of matched elements from the DOM.
|
|