Method | Description |
---|
after(content) | Content is inserted after each of the matched elements. |
append(content) | It appends the content to the inside of every matched element. |
appendto(content) | It appends the matched elements to another specified set of elements. |
before(content) | Content is inserted before each of the matched elements. |
clone(content) | It clones all the Matched DOM elements and their event handlers and selects the clones. |
clone() | It clones all the matched DOM elements and selects the clones. |
empty() | Removes all the child nodes from the set of matched elements. |
html(val) | It sets the html contents of every matched elements. |
html() | It gets the inner html contents of the first matched element. |
insertAfter(selector) | It inserts all the matched elements after another specified set of elements. |
insertBefore(selector) | It inserts all the matched elements before another specified set of elements. |
prepend(content) | It prepends the content to the inside of every matched element. |
prependTo(selector) | It prepends all of the matched elements to another specified set of elements. |
remove(expr) | All the matched elements are removed from DOM. |
replaceAll(selector) | It replaces all the elements by the specified selector with the matched elements. |
replaceWith(content) | It replaces all the elements with the specified DOM elements. |
text(val) | It sets the text contents of all matched elements. |
text() | It gets the combined text contents of all the matched elements. |
wrap(ele) | It wraps each matched elements with the specified element. |
wrap(html) | It wraps each matched elements with the specified HTML content. |
wrapAll(ele) | It wraps all the elements in the matched set into a single wrapper element. |
wrapAll(html) | It wraps all the elements in the matched set into a single wrapper element. |
wrapInner(ele) | It wraps the inner child contents of each matched element (including text nodes) with a DOM element. |
wrapInner(html) | It wraps the inner child contents of each matched element (including text nodes) with an HTML structure. |